From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759304Ab3GaJIf (ORCPT ); Wed, 31 Jul 2013 05:08:35 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49764 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754930Ab3GaJId (ORCPT ); Wed, 31 Jul 2013 05:08:33 -0400 Date: Wed, 31 Jul 2013 10:08:29 +0100 From: Mel Gorman To: Hillf Danton Cc: Peter Zijlstra , Srikar Dronamraju , Ingo Molnar , Andrea Arcangeli , Johannes Weiner , Linux-MM , LKML Subject: Re: [PATCH 09/18] sched: Add infrastructure for split shared/private accounting of NUMA hinting faults Message-ID: <20130731090829.GJ2296@suse.de> References: <1373901620-2021-1-git-send-email-mgorman@suse.de> <1373901620-2021-10-git-send-email-mgorman@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: 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 On Wed, Jul 17, 2013 at 10:17:29AM +0800, Hillf Danton wrote: > On Mon, Jul 15, 2013 at 11:20 PM, Mel Gorman wrote: > > /* > > * Got a PROT_NONE fault for a page on @node. > > */ > > -void task_numa_fault(int node, int pages, bool migrated) > > +void task_numa_fault(int last_nid, int node, int pages, bool migrated) > > For what is the new parameter? > To weight the fault heavier if the page was migrated due to being improperly placed at fault time. -- Mel Gorman SUSE Labs