Messages in this thread |  | | | Date | Thu, 13 Dec 2007 14:32:46 -0800 (PST) | | Subject | Re: RFC: remove __read_mostly | | From | David Miller <> | |
From: Adrian Bunk <bunk@kernel.org>
Date: Thu, 13 Dec 2007 23:20:44 +0100
> My question is:
> Is there anywhere in the kernel a case where __read_mostly brings a
> measurable improvement or can it be removed?
Yes, on SMP when read-mostly objects share cache lines
with other objects which are frequently written to.
That is the whole reason we created __read_mostly
|  |