From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id D16286B024D for ; Fri, 23 Jul 2010 04:12:29 -0400 (EDT) Date: Fri, 23 Jul 2010 16:12:24 +0800 From: Wu Fengguang Subject: Re: [RFC]mm: batch activate_page() to reduce lock contention Message-ID: <20100723081224.GB5043@localhost> References: <1279610324.17101.9.camel@sli10-desk.sh.intel.com> <20100721160634.GA7976@barrios-desktop> <20100722002716.GA7740@sli10-desk.sh.intel.com> <20100722051702.GA26829@sli10-desk.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100722051702.GA26829@sli10-desk.sh.intel.com> Sender: owner-linux-mm@kvack.org To: "Li, Shaohua" Cc: Minchan Kim , linux-mm , Andrew Morton , Andi Kleen List-ID: > 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. Thanks, Fengguang -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org