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

From: Hillf Danton
Date: Mon Mar 07 2016 - 22:08:45 EST


>
> 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 <akpm@xxxxxxxxxxxxxxxxxxxx>
> > Cc: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>
> > Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
> > Cc: Hillf Danton <hillf.zj@xxxxxxxxxxxxxxx>
> > Cc: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx>
> > Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
> > Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
> >
> > Signed-off-by: Jan Stancek <jstancek@xxxxxxxxxx>
>
Acked-by: Hillf Danton <hillf.zj@xxxxxxxxxxxxxxx>