linux_dsm_epyc7002/arch/sparc/include
David S. Miller 04df419de3 sparc64: Fix bugs in get_user_pages_fast() wrt. THP.
The large PMD path needs to check _PAGE_VALID not _PAGE_PRESENT, to
decide if it needs to bail and return 0.

pmd_large() should therefore just check _PAGE_PMD_HUGE.

Calls to gup_huge_pmd() are guarded with a check of pmd_large(), so we
just need to add a valid bit check.

Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-03 22:32:37 -07:00
..
asm sparc64: Fix bugs in get_user_pages_fast() wrt. THP. 2014-05-03 22:32:37 -07:00
uapi/asm sparc: Hook up sched_setattr and sched_getattr syscalls. 2014-01-29 00:45:06 -08:00