Skip to contentSkip to conversation

O(1) scheduler K3: new IA64 patch

Linux-ia64 Erich Focht 1 participant 1 message Feb 20, 2002

lore
Share & tools
lore
#0 lore raw

Hi!

Please find attached an updated version of the IA64 version of Ingo's O(1) scheduler patch. The changes to the previous version are:
- the context wrap around problem is now solved without locks (thanks to David Mosberger for the suggestion),
- set_cpus_allowed() should do what it is expected to: set the cpus_allowed mask of an arbitrary process and move it to a new CPU if needed.
- should compile an UP kernel cleanly (Mike Madore's hint).

There were reports that the IDLE_REBALANCE_TICK value is too small for machines with more than 16 CPUs where all the idle cpus trying to load_balance() slow down the booting CPU considerably. Maybe 10ms would be more appropriate in this case...

Best regards,
Erich