]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Support huge PUD case in get_user_pages
authorNitin Gupta <nitin.m.gupta@oracle.com>
Fri, 11 Aug 2017 23:46:49 +0000 (16:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 04:48:06 +0000 (21:48 -0700)
commitd9fbd19940168f14c2c89d8bf976d75f180a16f3
tree44b7d9304a1e28fb31a0ae98a889481c36f48d51
parenta662245648b97c42b0c2743db35f8ecc587dba29
sparc64: Support huge PUD case in get_user_pages

get_user_pages() is used to do direct IO. It already
handles the case where the address range is backed
by PMD huge pages. This patch now adds the case where
the range could be backed by PUD huge pages.

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/mm/gup.c