Contributed by jj on from the one-core-is-for-pr0n dept.
This will help SMP performance by keeping processes on the same core/CPU if possible, in order to prevent cache flushing and having to repopulate it on the new CPU.
It might also pave the way for things like NUMA and improvements in scheduler locking, since it adds per-CPU scheduler queues. It also will help with hyper-threading performance work later on. Note that it is a work-in-progress, and as the commit message states, there is some guesswork on how to choose the 'best' CPU to land on.
Also note this, from tech@:
After updating your tree with this diff, please remove your kernel build directory before yelling that it's buggy. The dependencies on assym.h for some architectures were still buggy and didn't catch one dependency on a file that changed here, so at least amd64 will break horribly, even with make clean.
(Comments are closed)