Re: [PATCH 09/18] sched: Add infrastructure for split shared/privateaccounting of NUMA hinting faults

From: Mel Gorman
Date: Wed Jul 31 2013 - 05:08:39 EST


On Wed, Jul 17, 2013 at 10:17:29AM +0800, Hillf Danton wrote:
> On Mon, Jul 15, 2013 at 11:20 PM, Mel Gorman <mgorman@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/