]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Reduce TLB flushes during hugepte changes
authorNitin Gupta <nitin.m.gupta@oracle.com>
Wed, 30 Mar 2016 18:17:13 +0000 (11:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 May 2016 01:44:27 +0000 (18:44 -0700)
commitc41cf1daacc7c5a33d77763bf9042a7e97fa566d
tree4893dd3011dc7a4db11082ce6953d1e1d2c13803
parenta64625a825a77f2825bbf13c1519ee30faf2a04e
sparc64: Reduce TLB flushes during hugepte changes

During hugepage map/unmap, TSB and TLB flushes are currently
issued at every PAGE_SIZE'd boundary which is unnecessary.
We now issue the flush at REAL_HPAGE_SIZE boundaries only.

Without this patch workloads which unmap a large hugepage
backed VMA region get CPU lockups due to excessive TLB
flush calls.

Orabug: 223655392264323022995196

Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/pgtable_64.h
arch/sparc/include/asm/tlbflush_64.h
arch/sparc/mm/hugetlbpage.c
arch/sparc/mm/init_64.c
arch/sparc/mm/tlb.c
arch/sparc/mm/tsb.c