linux/arch/x86/mm
Nadav Amit 858eaaa711 mm/rmap: batched invalidations should use existing api
The recently introduced batched invalidations mechanism uses its own
mechanism for shootdown.  However, it does wrong accounting of
interrupts (e.g., inc_irq_stat is called for local invalidations),
trace-points (e.g., TLB_REMOTE_SHOOTDOWN for local invalidations) and
may break some platforms as it bypasses the invalidation mechanisms of
Xen and SGI UV.

This patch reuses the existing TLB flushing mechnaisms instead.  We use
NULL as mm to indicate a global invalidation is required.

Fixes 72b252aed5 ("mm: send one IPI per CPU to TLB flush all entries after unmapping pages")
Signed-off-by: Nadav Amit <namit@vmware.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-04-01 17:03:37 -05:00
..
kmemcheck
amdtopology.c
debug_pagetables.c
dump_pagetables.c
extable.c x86/extable: use generic search and sort routines 2016-03-22 15:36:02 -07:00
fault.c Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 19:08:56 -07:00
gup.c Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 19:08:56 -07:00
highmem_32.c
hugetlbpage.c
init_32.c
init_64.c
init.c
iomap_32.c
ioremap.c
kasan_init_64.c
kmmio.c
Makefile kernel: add kcov code coverage 2016-03-22 15:36:02 -07:00
mm_internal.h
mmap.c
mmio-mod.c
mpx.c Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-24 09:47:32 -07:00
numa_32.c
numa_64.c
numa_emulation.c
numa_internal.h
numa.c
pageattr-test.c
pageattr.c Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 18:58:18 -07:00
pat_internal.h
pat_rbtree.c
pat.c Merge branch 'x86/cleanups' into x86/urgent 2016-03-17 09:44:57 +01:00
pf_in.c
pf_in.h
pgtable_32.c
pgtable.c
physaddr.c
physaddr.h
pkeys.c
setup_nx.c
srat.c
testmmiotrace.c
tlb.c mm/rmap: batched invalidations should use existing api 2016-04-01 17:03:37 -05:00