[PATCH 1/7] Add various hugetlb arm high level hooks

Arnd Bergmann arnd at arndb.de
Wed Feb 29 07:31:51 EST 2012


On Monday 13 February 2012, Bill Carson wrote:
> +
> +/* 2M and 16M hugepage linux ptes are stored in mmu_context_t->huge_linux_pte
> + *
> + * 2M hugepage
> + * ===========
> + * one huge linux pte caters to two HW ptes,
> + *

I think this needs more explanation. Why do you use a 2MB hugepage with two ptes here?
Wouldn't it be more logical to use 1MB hugepages?

	Arnd



More information about the linux-arm-kernel mailing list