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

From: Paul Jackson
Date: Tue Dec 13 2005 - 15:07:52 EST


Detail question ...

Eric wrote:
> Say you move to read mostly most of struct kmem_cache *

Does the following:

struct kmem_cache *cpuset_cache __read_mostly;

mark just the one word pointer 'cpuset_cache' as __read_mostly,
or does it mark the whole dang cpuset cache?

I presume it just marks the one pointer word. Am I wrong?

I ask because the subtle phrasing of your comment reads to
my ear as if you knew it marked the entire cache. I can't
tell if that is due to my ears having a different language
accent than yours, or if it is due to my getting this wrong.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
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/