]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
[PATCH] hugetlb: check p?d_present in huge_pte_offset()
authorAdam Litke <agl@us.ibm.com>
Sat, 3 Sep 2005 22:55:01 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:46 +0000 (00:05 -0700)
commit02b0ccef903e85673ead74ddb7c431f2f7ce183d
treed359d49ef24f94a413e7dec69821645b42813921
parent7bf07f3d4b4358aa6d99a26d7a0165f1e91c3fcc
[PATCH] hugetlb: check p?d_present in huge_pte_offset()

For demand faulting, we cannot assume that the page tables will be
populated.  Do what the rest of the architectures do and test p?d_present()
while walking down the page table.

Signed-off-by: Adam Litke <agl@us.ibm.com>
Cc: <linux-mm@kvack.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mm/hugetlbpage.c