Re: [PATCH 10/10] prepare to remove /proc/sys/vm/hugepages_treat_as_movable

From: KOSAKI Motohiro
Date: Fri Apr 05 2013 - 20:15:52 EST


(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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/