sparc64: Fix memory corruption when THP is enabled
authorNitin Gupta <nitin.m.gupta@oracle.com>
Fri, 31 Mar 2017 22:48:53 +0000 (15:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Apr 2017 19:03:30 +0000 (12:03 -0700)
commit76811263b3fa6347699a446cddeb63badf3e6095
tree9327454f7bf709e09194fe0dfbe77704f340803b
parent9ae34dbd8afd790cb5f52467e4f816434379eafa
sparc64: Fix memory corruption when THP is enabled

The memory corruption was happening due to incorrect
TLB/TSB flushing of hugepages.

Reported-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/tlb.c
arch/sparc/mm/tsb.c