Hi all,
Does anyone know how to add a new source code into a Linux Kernel. Specifically, I have a new I/O scheduler (my own algorithm developed for research purposes) that I want to add to the Linux compilation tree. So what do I need to do step by step so that when I re-compile the kernel, my new scheduler is also part of the OS and I can also switch scheduler by echoing my scheduler name to /sys/block//queue/scheduler like we can do for AS, Deadline, NOOP and CFQ.
Any pointers..would be appreciated..
Thanks,
Jay
Put your IO scheduler in driv
Put your IO scheduler in drivers/block/, add it to the Makefile and optionally also to elevator_setup_default() in elevator.c. The rest must be done in your code, but that should be simple enough with noop.c as example.
Thanks
Thanks!.