Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-03-18 Thread Naoya Horiguchi
On Mon, Mar 18, 2013 at 04:51:25PM +0100, Michal Hocko wrote: > On Thu 21-02-13 14:41:48, Naoya Horiguchi wrote: > > Now hugepages are definitely movable. So allocating hugepages from > > ZONE_MOVABLE is natural and we have no reason to keep this parameter. > > The sysctl is a part of user

Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-03-18 Thread Michal Hocko
On Thu 21-02-13 14:41:48, Naoya Horiguchi wrote: > Now hugepages are definitely movable. So allocating hugepages from > ZONE_MOVABLE is natural and we have no reason to keep this parameter. The sysctl is a part of user interface so you shouldn't remove it right away. What we can do is to make it

Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-03-18 Thread Michal Hocko
On Thu 21-02-13 14:41:48, Naoya Horiguchi wrote: Now hugepages are definitely movable. So allocating hugepages from ZONE_MOVABLE is natural and we have no reason to keep this parameter. The sysctl is a part of user interface so you shouldn't remove it right away. What we can do is to make it

Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-03-18 Thread Naoya Horiguchi
On Mon, Mar 18, 2013 at 04:51:25PM +0100, Michal Hocko wrote: On Thu 21-02-13 14:41:48, Naoya Horiguchi wrote: Now hugepages are definitely movable. So allocating hugepages from ZONE_MOVABLE is natural and we have no reason to keep this parameter. The sysctl is a part of user interface so

Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-02-28 Thread Naoya Horiguchi
On Thu, Feb 28, 2013 at 01:02:37AM -0500, KOSAKI Motohiro wrote: > > -{ > > - .procname = "hugepages_treat_as_movable", > > - .data = _treat_as_movable, > > - .maxlen = sizeof(int), > > - .mode =

Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-02-28 Thread Naoya Horiguchi
On Thu, Feb 28, 2013 at 01:02:37AM -0500, KOSAKI Motohiro wrote: -{ - .procname = hugepages_treat_as_movable, - .data = hugepages_treat_as_movable, - .maxlen = sizeof(int), - .mode = 0644,

Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-02-27 Thread KOSAKI Motohiro
> -{ > - .procname = "hugepages_treat_as_movable", > - .data = _treat_as_movable, > - .maxlen = sizeof(int), > - .mode = 0644, > - .proc_handler = hugetlb_treat_movable_handler, > -

Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-02-27 Thread KOSAKI Motohiro
-{ - .procname = hugepages_treat_as_movable, - .data = hugepages_treat_as_movable, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = hugetlb_treat_movable_handler, -

[PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-02-21 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. Signed-off-by: Naoya Horiguchi --- Documentation/sysctl/vm.txt | 16 include/linux/hugetlb.h | 2 -- kernel/sysctl.c | 7

[PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-02-21 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. Signed-off-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com --- Documentation/sysctl/vm.txt | 16 include/linux/hugetlb.h | 2 --