[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CBE8584.10707@zytor.com>
Date: Tue, 19 Oct 2010 23:00:36 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: Shaohua Li <shaohua.li@...el.com>,
lkml <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
Andi Kleen <andi@...stfloor.org>,
"Chen, Tim C" <tim.c.chen@...el.com>
Subject: Re: [PATCH 1/2]percpu: introduce read mostly percpu API
On 10/19/2010 10:18 PM, Eric Dumazet wrote:
>
> Could you precisely describe why grouping together read mostly percpu
> variables is a win ? Especially when you add in your next patch a single
> variable ?
>
The logic is that those variables are less likely to end up dirty in the
cache. It is, however, much less of an issue for percpu variables,
since dirty lines there aren't quite so likely to bounce around.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists