Re: [RFC PATCH] ANB(Automatic NUMA Balancing): erase mm footprintof migrated page

From: Rik van Riel
Date: Thu Sep 12 2013 - 21:41:31 EST


On 09/12/2013 08:45 PM, Hillf Danton wrote:
> If a page monitored by ANB is migrated, its footprint should be erased from
> numa-hint-fault account, because it is no longer used. Or two pages, the
> migrated page and its target page, are used in the view of task placement.
>
>
> Signed-off-by: Hillf Danton <dhillf@xxxxxxxxx>

NAK

The numa faults buffer contains the number of pages on each
node that the task recently faulted on.

If the page got migrated, it is only counted on the new node,
not on the old one. That means there is no need to subtract
it on the old node.

--
All rights reversed
--
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/