[lkml]   [2005]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] Additions to .data.read_mostly section
Ravikiran G Thirumalai a écrit :
> Following patch moves a few static 'read mostly' variables to the
> .data.read_mostly section. Typically these are vector - irq tables,
> boot_cpu_data, node_maps etc., which are initialized once and read from
> often and rarely written to. Please include.

Good candidates for read_mostly are all the 'kmem_cache_t *xxx_cache'

slab was carefuly designed to eliminate cache line ping pongs on SMP, but if
the initial pointer to slab sits in a heavily modified cache line, we loose.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-25 00:40    [W:0.059 / U:2.016 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site