Re: [PATCH] add scheduler domains for ia64
From: Nick Piggin
Date: Sat Aug 14 2004 - 19:56:33 EST
Jesse Barnes wrote:
On Friday, August 13, 2004 8:23 pm, Nick Piggin wrote:
Andrew's latest tree should have a number of improvements and changes
to the sched domains code which you will need to synch up to.
Yeah, I forgot about those. I'll respin against your consolidation stuff.
Thanks.
One issue you may have is that Ingo removed the ability to have arch
code override the domain structure due to it being too hazardous for
architectures to use in this form (which I don't entirely disagree with).
Now I guess your patch could go into the generic code because it is
pretty general - however are you guys going to want to do anything
more fancy with these things?
Maybe, we haven't figured out the best way to schedule on a 512p yet, but most
or all of this code is generic. In order for things to work at all though,
we'll need to change some of the SD_NODE_INIT values, maybe we can keep that
as per-arch?
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.
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/