Re: [RFC]mm: batch activate_page() to reduce lock contention

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

 



On Fri, Jul 23, 2010 at 04:12:24PM +0800, Wu Fengguang wrote:
> > Each node has zones, so a pagevec[MAX_NR_ZONES] doesn't work here.
> 
> It's actually pagevec[MAX_NR_ZONES][nr_cpus], where the CPU dimension
> selects a NUMA node. So it looks like a worthy optimization.

Ah sorry, please ignore this. activate_page() may be called from any CPU..

Thanks,
Fengguang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[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]