Re: [patch] mm, hugetlb: remove hugetlb_zero and hugetlb_infinity

2014-07-02 Thread Luiz Capitulino
On Mon, 30 Jun 2014 17:46:35 -0700 (PDT) David Rientjes wrote: > They are unnecessary: "zero" can be used in place of "hugetlb_zero" and > passing extra2 == NULL is equivalent to infinity. > > Signed-off-by: David Rientjes Reviewed-by: Luiz Capitulino > --- > include/linux/hugetlb.h | 1 -

Re: [patch] mm, hugetlb: remove hugetlb_zero and hugetlb_infinity

2014-07-02 Thread Luiz Capitulino
On Mon, 30 Jun 2014 17:46:35 -0700 (PDT) David Rientjes rient...@google.com wrote: They are unnecessary: zero can be used in place of hugetlb_zero and passing extra2 == NULL is equivalent to infinity. Signed-off-by: David Rientjes rient...@google.com Reviewed-by: Luiz Capitulino

Re: [patch] mm, hugetlb: remove hugetlb_zero and hugetlb_infinity

2014-07-01 Thread Naoya Horiguchi
On Mon, Jun 30, 2014 at 05:46:35PM -0700, David Rientjes wrote: > They are unnecessary: "zero" can be used in place of "hugetlb_zero" and > passing extra2 == NULL is equivalent to infinity. > > Signed-off-by: David Rientjes Reviewed-by: Naoya Horiguchi > --- > include/linux/hugetlb.h | 1 -

Re: [patch] mm, hugetlb: remove hugetlb_zero and hugetlb_infinity

2014-07-01 Thread Naoya Horiguchi
On Mon, Jun 30, 2014 at 05:46:35PM -0700, David Rientjes wrote: They are unnecessary: zero can be used in place of hugetlb_zero and passing extra2 == NULL is equivalent to infinity. Signed-off-by: David Rientjes rient...@google.com Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com

[patch] mm, hugetlb: remove hugetlb_zero and hugetlb_infinity

2014-06-30 Thread David Rientjes
They are unnecessary: "zero" can be used in place of "hugetlb_zero" and passing extra2 == NULL is equivalent to infinity. Signed-off-by: David Rientjes --- include/linux/hugetlb.h | 1 - kernel/sysctl.c | 9 +++-- mm/hugetlb.c| 1 - 3 files changed, 3 insertions(+), 8

[patch] mm, hugetlb: remove hugetlb_zero and hugetlb_infinity

2014-06-30 Thread David Rientjes
They are unnecessary: zero can be used in place of hugetlb_zero and passing extra2 == NULL is equivalent to infinity. Signed-off-by: David Rientjes rient...@google.com --- include/linux/hugetlb.h | 1 - kernel/sysctl.c | 9 +++-- mm/hugetlb.c| 1 - 3 files changed, 3