Re: [RFC PATCH] ANB(Automatic NUMA Balancing): erase mm footprint of migrated page
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 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [RFC PATCH] ANB(Automatic NUMA Balancing): erase mm footprint of migrated page
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 dhi...@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 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/