[PATCH -V7 04/10] powerpc: Update find_linux_pte_or_hugepte to handle transparent hugepages

Aneesh Kumar K.V aneesh.kumar at linux.vnet.ibm.com
Sat May 4 04:58:20 EST 2013


David Gibson <dwg at au1.ibm.com> writes:

> On Mon, Apr 29, 2013 at 01:21:45AM +0530, Aneesh Kumar K.V wrote:
>> From: "Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com>
>
> What's the difference in meaning between pmd_huge() and pmd_large()?
>

#ifndef CONFIG_HUGETLB_PAGE
#define pmd_huge(x)	0
#endif

Also pmd_large do check for THP PTE flag, and _PAGE_PRESENT.

-aneesh



More information about the Linuxppc-dev mailing list