[lkml]   [2009]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [this_cpu_xx V6 7/7] this_cpu: slub aggressive use of this_cpu operations in the hotpaths wrote:
> Use this_cpu_* operations in the hotpath to avoid calculations of
> kmem_cache_cpu pointer addresses.
> On x86 there is a trade off: Multiple uses segment prefixes against an
> address calculation and more register pressure. Code size is reduced
> also therefore it is an advantage icache wise.
> The use of prefixes is necessary if we want to use a scheme
> for fastpaths that do not require disabling interrupts.
> Cc: Mathieu Desnoyers <>
> Cc: Pekka Enberg <>
> Signed-off-by: Christoph Lameter <>

The rest of the patches look good to me but I'm no expert in this area
of code. But you're the maintainer of the allocator and the changes
definitely are percpu related, so if you're comfortable with it, I can
happily carry the patches through percpu tree.



 \ /
  Last update: 2009-10-12 12:53    [W:0.193 / U:0.468 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site