Re: [PATCH] Cpuset: rcu optimization of page alloc hook

Christoph Lameter
2005-12-13T17:37:40Z

On Tue, 13 Dec 2005, Paul Jackson wrote:

> So my intuition is:
> If read alot but seldom written, mark "__read_mostly".
> If seldom read or written, leave unmarked.

Correct.

> 1) I would -not- mark "struct kmem_cache *cpuset" __read_mostly, as it
> is rarely accessed on -any- code path, much less a hot one. It is
> ideal cannon fodder.

Agree.