![]() | |||||||||||||
Messages in this thread |
> - Measure performance impact. The patch adds a segment register > save/restore on entry/exit to the kernel. This expense should be > offset by savings in using the PDA while in the kernel, but I haven't > measured this yet. Space savings are already appealing though. this will be interesting; x86-64 has a nice instruction to help with this; 32 bit does not... so far conventional wisdom has been that without the instruction it's not going to be worth it. When you're benchmarking this please use multiple CPU generations from different vendors; I suspect this is one of those things that vary greatly between models > - Make it a config option? UP systems don't need to do any of this, > other than having a single pre-allocated PDA. Unfortunately, it gets > a bit messy to do this given the changes needed in handling %gs. A config option for this is a mistake imo. Not every patch is worth a config option! It's good or it's not, if it's good it should be there always, if it's not.... Something this fundamental to the core doesn't really have a "but it's optional" argument going for it, unlike individual drivers or subsystems... -- if you want to mail me at work (you don't), use arjan (at) linux.intel.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2006-08-27 11:51 [from the cache] ©2003-2008 | |||||||||||||