[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50A64921.5020702@redhat.com>
Date: Fri, 16 Nov 2012 09:09:37 -0500
From: Rik van Riel <riel@...hat.com>
To: Mel Gorman <mgorman@...e.de>
CC: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Andrea Arcangeli <aarcange@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Johannes Weiner <hannes@...xchg.org>,
Hugh Dickins <hughd@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux-MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 07/43] mm: numa: Support NUMA hinting page faults from
gup/gup_fast
On 11/16/2012 06:22 AM, Mel Gorman wrote:
> From: Andrea Arcangeli <aarcange@...hat.com>
>
> Introduce FOLL_NUMA to tell follow_page to check
> pte/pmd_numa. get_user_pages must use FOLL_NUMA, and it's safe to do
> so because it always invokes handle_mm_fault and retries the
> follow_page later.
>
> KVM secondary MMU page faults will trigger the NUMA hinting page
> faults through gup_fast -> get_user_pages -> follow_page ->
> handle_mm_fault.
>
> Other follow_page callers like KSM should not use FOLL_NUMA, or they
> would fail to get the pages if they use follow_page instead of
> get_user_pages.
>
> [ This patch was picked up from the AutoNUMA tree. ]
>
> Originally-by: Andrea Arcangeli <aarcange@...hat.com>
> Cc: Linus Torvalds <torvalds@...ux-foundation.org>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
> Cc: Andrea Arcangeli <aarcange@...hat.com>
> Cc: Rik van Riel <riel@...hat.com>
> [ ported to this tree. ]
> Signed-off-by: Ingo Molnar <mingo@...nel.org>
Reviewed-by: Rik van Riel <riel@...hat.com>
--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists