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

From: Andrew Morton
Date: Fri Mar 04 2016 - 16:38:14 EST


On Thu, 3 Mar 2016 11:02:51 +0100 Jan Stancek <jstancek@xxxxxxxxxx> 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? Does it fix
some misbehaviour?