mm/huge_memory.c: deposit a pgtable for DAX PMD faults when required
authorOliver O'Halloran <[email protected]>
Mon, 8 May 2017 22:59:43 +0000 (15:59 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 May 2017 00:15:15 +0000 (17:15 -0700)
commit3b6521f53572d7fc1b40c93931948716a53a82ab
tree6344476356e46204fe91c39a0c790031e212d544
parentc14a6eb44d8a59337433961d181ca953fb20d083
mm/huge_memory.c: deposit a pgtable for DAX PMD faults when required

Although all architectures use a deposited page table for THP on
anonymous VMAs, some architectures (s390 and powerpc) require the
deposited storage even for file backed VMAs due to quirks of their MMUs.

This patch adds support for depositing a table in DAX PMD fault handling
path for archs that require it.  Other architectures should see no
functional changes.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Oliver O'Halloran <[email protected]>
Cc: Reza Arbab <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: [email protected]
Cc: Oliver O'Halloran <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/huge_memory.c