Re: [PATCH v2 4/6] mm: Only IPI CPUs to drain local pages if they exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, Oct 28, 2011 at 6:10 AM, Christoph Lameter <cl@xxxxxxxxxx> wrote:
On Sun, 23 Oct 2011, Gilad Ben-Yossef wrote:

> +/* Which CPUs have per cpu pages  */
> +cpumask_var_t cpus_with_pcp;
> +static DEFINE_PER_CPU(unsigned long, total_cpu_pcp_count);

This increases the cache footprint of a hot vm path. Is it possible to do
the same than what you did for slub? Run a loop over all zones when
draining to check for remaining pcp pages and build the set of cpus
needing IPIs temporarily while draining?


Sounds like a good idea. I will give it a shot.

Thanks,
Gilad 



--
Gilad Ben-Yossef
Chief Coffee Drinker
gilad@xxxxxxxxxxxxx
Israel Cell: +972-52-8260388
US Cell: +1-973-8260388
http://benyossef.com

"I've seen things you people wouldn't believe. Goto statements used to implement co-routines. I watched C structures being stored in registers. All those moments will be lost in time... like tears in rain... Time to die. "


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]