0

I'm patching the kernel 2.6.24 to introduce a new scheduling policy, following this article: http://www.eetimes.com/design/embedded/4204929/Real-Time-Linux-Scheduling-Part-1 The patching and rebuilding process goes fine but after the reboot the system seems like hasn't been patched at all. To be more specific part of the code of /include/linux/sched.h is:

...
#define SCHED_NORMAL        0
#define SCHED_FIFO      1
#define SCHED_RR        2
#define SCHED_BATCH     3
/* SCHED_ISO: reserved but not implemented yet */
#define SCHED_IDLE      5
#define SCHED_CASIO     6
...

but after the reboot the /usr/include/bits/sched.h looks like

...
#define SCHED_OTHER 0
#define SCHED_FIFO  1
#define SCHED_RR    2
#ifdef __USE_GNU
# define SCHED_BATCH    3
#endif
...

What could be the problem? I'm using Ubuntu 8.04 with a core duo t7300

Thanks, Stefano

4

0 に答える 0