]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Remove locking of huge pages in DAX driver
authorSanath Kumar <sanath.s.kumar@oracle.com>
Mon, 15 May 2017 16:31:34 +0000 (11:31 -0500)
committerShannon Nelson <shannon.nelson@oracle.com>
Wed, 31 May 2017 23:43:49 +0000 (16:43 -0700)
commit4e58e2418a051a0d0998179eb1690e6da29ffef1
tree0539c8e48955054a98f7439e2677265f507f9c4c
parent93ff458563b03db3142c1c3939000a4100aeb37f
sparc64: Remove locking of huge pages in DAX driver

Orabug: 25968141

Some huge page virtual addresses do not work with get_user_pages. Since
the purpose of calling get_user_pages is for its locking side effect, it
is not at all necessary for huge pages since they are permanently
pinned. So the failure is avoided and the unnecessary locking/unlocking
is eliminated.

Reviewed-by: Jonathan Helman <jonathan.helman@oracle.com>
Acked-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/dax/dax_impl.h
arch/sparc/dax/dax_main.c
arch/sparc/dax/dax_mm.c