Messages in this thread | | | From | Tim Hockin <> | Subject | Scheduler question, How do I... | Date | Wed, 3 Mar 1999 23:10:29 -0600 (EST) |
| |
In the course of making and testing some mods to the kernel (2.2.2 if it matters) I need to midfy the scheduler some. I need it to test if a process meets a criterion, and if not, see if it can reschedule it on a different CPU (it only applies to SMP).
The end goal will be (essentially, for testing purposes right now) a CPU (1 of 2) that is not allowed to schedule any process.
I initially thought I could just make goodness() return -1000 if my criterion was not met. It makes sense to me - bad criteria, don't schedule. However when I do this, the whole system locks up as soon as I initiate the processor restriction.
how can I do this?
Tim
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |