Re: [PATCH 25/40] autonuma: follow_page check for pte_numa/pmd_numa

From: Rik van Riel
Date: Mon Jul 02 2012 - 00:14:42 EST


On 06/28/2012 08:56 AM, Andrea Arcangeli wrote:
Without this, follow_page wouldn't trigger the NUMA hinting faults.

Signed-off-by: Andrea Arcangeli<aarcange@xxxxxxxxxx>

follow_page is called from many different places, not just
the process itself. One example would be ksm.

Do you really want to trigger NUMA hinting faults when the
mm != current->mm, or is that magically prevented somewhere?

--
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/