Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760237AbcCDViK (ORCPT ); Fri, 4 Mar 2016 16:38:10 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41567 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758765AbcCDViJ (ORCPT ); Fri, 4 Mar 2016 16:38:09 -0500 Date: Fri, 4 Mar 2016 13:38:07 -0800 From: Andrew Morton To: Jan Stancek Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, n-horiguchi@ah.jp.nec.com, mike.kravetz@oracle.com, hillf.zj@alibaba-inc.com, kirill.shutemov@linux.intel.com, dave.hansen@linux.intel.com, paul.gortmaker@windriver.com Subject: Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers Message-Id: <20160304133807.72ede1000b9bf0b846d2fb87@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 351 Lines: 9 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? Does it fix some misbehaviour?