]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/e6500: add locking to hugetlb
authorScott Wood <scottwood@freescale.com>
Fri, 4 Dec 2015 22:31:13 +0000 (16:31 -0600)
committerScott Wood <scottwood@freescale.com>
Wed, 23 Dec 2015 00:23:22 +0000 (18:23 -0600)
commit2749539b4bf8231b3a20ad759ec8c559ec29292c
treef4247ef5852f49d1f569a72eb8f880eaeb3855dc
parent9d68e7accf28d0ffe5bf44aae4e64d744fa97337
powerpc/e6500: add locking to hugetlb

e6500 has threads but does not have TLB write conditional.  Thus,
the hugetlb code needs to take the same lock that the normal TLB miss
handlers take, to ensure that the tlbsx and tlbwe are atomic.

Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/mm/hugetlbpage-book3e.c