Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756012AbZGIVAY (ORCPT ); Thu, 9 Jul 2009 17:00:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754960AbZGIVAN (ORCPT ); Thu, 9 Jul 2009 17:00:13 -0400 Received: from smtp3.ultrahosting.com ([74.213.175.254]:59970 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754951AbZGIVAM (ORCPT ); Thu, 9 Jul 2009 17:00:12 -0400 Date: Thu, 9 Jul 2009 17:00:01 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: KOSAKI Motohiro cc: Minchan Kim , Wu Fengguang , LKML , linux-mm , Andrew Morton , David Rientjes , Rik van Riel Subject: Re: [PATCH 4/5] add isolate pages vmstat In-Reply-To: <20090709111458.238C.A69D9226@jp.fujitsu.com> Message-ID: References: <20090707101855.0C63.A69D9226@jp.fujitsu.com> <20090709111458.238C.A69D9226@jp.fujitsu.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 822 Lines: 24 On Thu, 9 Jul 2009, KOSAKI Motohiro wrote: > > > > Could you move the counters for reclaim into a separate cacheline? > > > > Current definition is here. > > dirty pages and other frequently used counter stay in first cache line. > NR_ISOLATED_(ANON|FILE) and other unfrequently used counter stay in second > cache line. > > Do you mean we shouldn't use zone_stat_item for it? No there is really no alternative to it. Just be aware that what you may increases the cache footprint of key functions in the vm. Some regression tests would be useful (do a page fault test etc). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/