• A
    x86/mm: Use new merged flush logic in arch_tlbbatch_flush() · 3f79e4c7
    Andy Lutomirski 提交于
    Now there's only one copy of the local tlb flush logic for
    non-kernel pages on SMP kernels.
    
    The only functional change is that arch_tlbbatch_flush() will now
    leave_mm() on the local CPU if that CPU is in the batch and is in
    TLBSTATE_LAZY mode.
    Signed-off-by: NAndy Lutomirski <luto@kernel.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Arjan van de Ven <arjan@linux.intel.com>
    Cc: Borislav Petkov <bpetkov@suse.de>
    Cc: Dave Hansen <dave.hansen@intel.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Mel Gorman <mgorman@suse.de>
    Cc: Michal Hocko <mhocko@suse.com>
    Cc: Nadav Amit <nadav.amit@gmail.com>
    Cc: Nadav Amit <namit@vmware.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-mm@kvack.org
    Signed-off-by: NIngo Molnar <mingo@kernel.org>
    3f79e4c7
tlb.c 11.9 KB