• Dave Hansen's avatar
    mm: vmstats: tlb flush counters · 9824cf97
    Dave Hansen authored
    I was investigating some TLB flush scaling issues and realized that we do
    not have any good methods for figuring out how many TLB flushes we are
    doing.
    
    It would be nice to be able to do these in generic code, but the
    arch-independent calls don't explicitly specify whether we actually need
    to do remote flushes or not.  In the end, we really need to know if we
    actually _did_ global vs.  local invalidations, so that leaves us with few
    options other than to muck with the counters from arch-specific code.
    Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    9824cf97
tlb.c 9.06 KB