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

From: Paul Jackson
Date: Tue Dec 13 2005 - 17:34:29 EST


Eric wrote:
> But the initial pointer *should* be in a cache line shared by all cpus to get
> best performance.

No - not if that pointer is seldom used. Then its location does not
directly affect performance at all, and better for it to be used as
"inert filler" to fill out cache lines of words that are write hot.

--
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/