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

2013-04-05 Thread KOSAKI Motohiro
(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)

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

2013-04-05 Thread KOSAKI Motohiro
(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) { -

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

2013-03-25 Thread Michal Hocko
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,

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

2013-03-25 Thread Michal Hocko
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,

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

2013-03-22 Thread Naoya Horiguchi
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. ChangeLog v2: - shift to noop function instead of

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

2013-03-22 Thread Naoya Horiguchi
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. ChangeLog v2: - shift to noop function instead of