Messages in this thread | | | From | "Aneesh Kumar K.V" <> | Subject | Re: [PATCH 8/8] prepare to remove /proc/sys/vm/hugepages_treat_as_movable | Date | Wed, 31 Jul 2013 00:02:30 +0530 |
| |
Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> writes:
> Now hugepages are definitely movable. So allocating hugepages from > ZONE_MOVABLE is natural and we have no reason to keep this parameter. > In order to allow userspace to prepare for the removal, let's leave > this sysctl handler as noop for a while.
I guess you still need to handle architectures for which pmd_huge is
int pmd_huge(pmd_t pmd) { return 0; }
embedded powerpc is one. They don't store pte information at the PMD level. Instead pmd contains a pointer to hugepage directory which contain huge pte.
-aneesh
| |