Re: remove __read_mostly?

From: Arjan van de Ven
Date: Sun Jun 25 2006 - 17:44:04 EST


On Sun, 2006-06-25 at 11:57 -0700, Andrew Morton wrote:
> I'm thinking we should remove __read_mostly.
>
> Because if we use this everywhere where it's supposed to be used, we end up
> with .bss and .data 100% populated with write-often variables, packed
> closely together. The cachelines will really flying around.


one thing we could/should do is have a "written during boot only"
section; which we then can mark read only as well :)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/