Skip to contentSkip to conversation

get_user_pages_fast and sparc THP

DISCUSSION Aneesh Kumar K.V 1 participant 1 message Feb 6, 2013

lore
Share & tools
lore
#0 lore raw

Hi Dave,

Don't we need to handle THP splitting condition in gup_pmd_range in case of sparc ?. Other archs do have

		if (pmd_none(pmd) || pmd_trans_splitting(pmd))
			return 0;
		if (unlikely(pmd_large(pmd))) {
			if (!gup_huge_pmd(pmd, addr, next, write, pages, nr))
				return 0;

-aneesh