lkml.org 
[lkml]   [2013]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/10] prepare to remove /proc/sys/vm/hugepages_treat_as_movable
(3/25/13 11:12 AM), Michal Hocko wrote:
> On Fri 22-03-13 16:23:55, Naoya Horiguchi wrote:
> [...]
>> @@ -2086,11 +2085,7 @@ int hugetlb_treat_movable_handler(struct ctl_table *table, int write,
>> void __user *buffer,
>> size_t *length, loff_t *ppos)
>> {
>> - proc_dointvec(table, write, buffer, length, ppos);
>> - if (hugepages_treat_as_movable)
>> - htlb_alloc_mask = GFP_HIGHUSER_MOVABLE;
>> - else
>> - htlb_alloc_mask = GFP_HIGHUSER;
>> + /* hugepages_treat_as_movable is obsolete and to be removed. */
>
> WARN_ON_ONCE("This knob is obsolete and has no effect. It is scheduled for removal")

Indeed.


\
 
 \ /
  Last update: 2013-04-06 03:01    [W:0.306 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site