Messages in this thread | | | Date | Thu, 25 Aug 2005 00:38:02 +0200 | From | Eric Dumazet <> | Subject | Re: [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.
Eric - 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/
| |