Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-07 Thread Hillf Danton
> > On Thu, 3 Mar 2016, Jan Stancek wrote: > > > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > > this value is propagated to userspace. EOPNOTSUPP is part of uapi > > and is widely supported by libc libraries. > > > > Cc: Andrew Morton > > Cc:

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-07 Thread Hillf Danton
> > On Thu, 3 Mar 2016, Jan Stancek wrote: > > > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > > this value is propagated to userspace. EOPNOTSUPP is part of uapi > > and is widely supported by libc libraries. > > > > Cc: Andrew Morton > > Cc: Naoya Horiguchi > > Cc: Mike

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-07 Thread Andrew Morton
On Sat, 5 Mar 2016 03:09:50 -0500 (EST) Jan Stancek wrote: > > > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > > > this value is propagated to userspace. EOPNOTSUPP is part of uapi > > > and is widely supported by libc libraries. > > > > hm, what is

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-07 Thread Andrew Morton
On Sat, 5 Mar 2016 03:09:50 -0500 (EST) Jan Stancek wrote: > > > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > > > this value is propagated to userspace. EOPNOTSUPP is part of uapi > > > and is widely supported by libc libraries. > > > > hm, what is the actual user-visible

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-07 Thread David Rientjes
On Thu, 3 Mar 2016, Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. > > Cc: Andrew Morton > Cc: Naoya Horiguchi

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-07 Thread David Rientjes
On Thu, 3 Mar 2016, Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. > > Cc: Andrew Morton > Cc: Naoya Horiguchi > Cc: Mike Kravetz > Cc:

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-05 Thread Jan Stancek
ke.krav...@oracle.com>, "hillf zj" <hillf...@alibaba-inc.com>, "kirill > shutemov" > <kirill.shute...@linux.intel.com>, "dave hansen" > <dave.han...@linux.intel.com>, "paul gortmaker" > <paul.gortma...@windriver.com> > Se

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-05 Thread Jan Stancek
ot;dave hansen" > , "paul gortmaker" > > Sent: Friday, 4 March, 2016 10:38:07 PM > Subject: Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers > > On Thu, 3 Mar 2016 11:02:51 +0100 Jan Stancek wrote: > > > Replace ENOTSUPP

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-04 Thread Andrew Morton
On Thu, 3 Mar 2016 11:02:51 +0100 Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. hm, what is the actual user-visible

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-04 Thread Andrew Morton
On Thu, 3 Mar 2016 11:02:51 +0100 Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. hm, what is the actual user-visible effect of this change?

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-03 Thread Naoya Horiguchi
On Thu, Mar 03, 2016 at 11:02:51AM +0100, Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. > > Cc: Andrew Morton > Cc:

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-03 Thread Naoya Horiguchi
On Thu, Mar 03, 2016 at 11:02:51AM +0100, Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. > > Cc: Andrew Morton > Cc: Naoya Horiguchi > Cc:

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-03 Thread Kirill A. Shutemov
On Thu, Mar 03, 2016 at 11:02:51AM +0100, Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. > > Cc: Andrew Morton > Cc:

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-03 Thread Kirill A. Shutemov
On Thu, Mar 03, 2016 at 11:02:51AM +0100, Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. > > Cc: Andrew Morton > Cc: Naoya Horiguchi > Cc:

[PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-03 Thread Jan Stancek
Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, this value is propagated to userspace. EOPNOTSUPP is part of uapi and is widely supported by libc libraries. Cc: Andrew Morton Cc: Naoya Horiguchi Cc: Mike Kravetz

[PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-03 Thread Jan Stancek
Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, this value is propagated to userspace. EOPNOTSUPP is part of uapi and is widely supported by libc libraries. Cc: Andrew Morton Cc: Naoya Horiguchi Cc: Mike Kravetz Cc: Hillf Danton Cc: "Kirill A. Shutemov" Cc: Dave Hansen Cc: