Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759199Ab3GaJNg (ORCPT ); Wed, 31 Jul 2013 05:13:36 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50130 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750983Ab3GaJNe (ORCPT ); Wed, 31 Jul 2013 05:13:34 -0400 Date: Wed, 31 Jul 2013 10:13:30 +0100 From: Mel Gorman To: Sam Ben Cc: Peter Zijlstra , Srikar Dronamraju , Ingo Molnar , Andrea Arcangeli , Johannes Weiner , Linux-MM , LKML Subject: Re: [PATCH 13/18] mm: numa: Scan pages with elevated page_mapcount Message-ID: <20130731091330.GK2296@suse.de> References: <1373901620-2021-1-git-send-email-mgorman@suse.de> <1373901620-2021-14-git-send-email-mgorman@suse.de> <51E62A0E.1070102@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <51E62A0E.1070102@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 22 On Wed, Jul 17, 2013 at 01:22:22PM +0800, Sam Ben wrote: > On 07/15/2013 11:20 PM, Mel Gorman wrote: > >Currently automatic NUMA balancing is unable to distinguish between false > >shared versus private pages except by ignoring pages with an elevated > > What's the meaning of false shared? > Two tasks may be operating on a shared buffer that is not aligned. It is expected that will at least cache align to avoid CPU cache line bouncing but the buffers are not necessarily page aligned. A page is the minimum granularity we can track NUMA hinting faults so two tasks sharing such a page will appear to be sharing data when in fact they are not. -- Mel Gorman SUSE Labs -- 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/