• Andy Lutomirski's avatar
    x86/mm: Use new merged flush logic in arch_tlbbatch_flush() · 3f79e4c7
    Andy Lutomirski authored
    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: default avatarAndy 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: default avatarIngo Molnar <mingo@kernel.org>
    3f79e4c7
tlb.c 11.9 KB