* Ingo Molnar (mingo@elte.hu) wrote:Ingo, a comment in slub.c explains it : /* * The SLUB_FASTPATH path is provisional and is currently disabled if the * kernel is compiled with preemption or if the arch does not support * fast cmpxchg operations. There are a couple of coming changes that will * simplify matters and allow preemption. Ultimately we may end up making * SLUB_FASTPATH the default. * * 1. The introduction of the per cpu allocator will avoid array lookups * through get_cpu_slab(). A special register can be used instead. * * 2. The introduction of per cpu atomic operations (cpu_ops) means that * we can realize the logic here entirely with per cpu atomics. The * per cpu atomic ops will take care of the preemption issues. */ So there is more coming in the preemption area. Eventually, I think only CONFIG_FAST_CMPXCHG_LOCAL will be needed (when the code will support preemption). Therefore, this SLUB_FASTPATH define seems to be only here temporarily. I'm looking at the code right now.. more to come. Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 --
| Andrew Morton | -mm merge plans for 2.6.23 |
| Rafael J. Wysocki | [Bug #11207] VolanoMark regression with 2.6.27-rc1 |
| Zhang, Yanmin | AIM7 40% regression with 2.6.26-rc1 |
| Con Kolivas | [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2 |
git: | |
| Gregory Haskins | [RFC PATCH 03/17] vbus: add connection-client helper infrastructure |
| David Woodhouse | [PATCH 03/30] solos: FPGA and firmware update support. |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
