lkml.org 
[lkml]   [2013]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 8/8] prepare to remove /proc/sys/vm/hugepages_treat_as_movable
Date
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



\
 
 \ /
  Last update: 2013-07-30 21:01    [W:0.237 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site