On Saturday, August 14, 2004 8:54 pm, Nick Piggin wrote:
Yeah, all the SD_*_INIT values are overridable. We could even say, put
in an SD_NODE2_INIT for a 2nd level NUMA domain in the generic code,
for example.
Yeah, we'll need different values for each level in the hierarchy.
I'd say your closest-node setup would probably get close to what you want.
The main thing you want is to not do huge amounts of balancing work in
interrupt context, and also not to move a task from one side of the
system to the other when one node is a little bit out of balance.
I guess if you want to do anything fancier then we can take a look at
re-exporting the domain setup.
Ok, sounds good. How does this look? It sits on top of 2.6.8.1-mm1, ripping out the ia64 specific bits and moving things to sched.c. I've also added an ia64 specific SD_NODE_INIT and an #if !defined to sched.c