]> git.karo-electronics.de Git - karo-tx-linux.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)
commit24e49ee3d76b70853a96520e46b8837e5eae65b2
tree4893dd3011dc7a4db11082ce6953d1e1d2c13803
parentb1ac6b7b4061f6c92bacf6938f94fb61b2fbf7f3
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