* Re: [RFC PATCH] ANB(Automatic NUMA Balancing): erase mm footprint of migrated page
[not found] <20130913004538.A7AA3428001@webmail.sinamail.sina.com.cn>
@ 2013-09-13 1:41 ` Rik van Riel
0 siblings, 0 replies; only message in thread
From: Rik van Riel @ 2013-09-13 1:41 UTC (permalink / raw)
To: dhillf; +Cc: Mel Gorman, Andrea Arcangeli, linux-mm, linux-kernel,
Hillf Danton
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@gmail.com>
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
^ permalink raw reply [flat|nested] only message in thread