Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753594AbcCHDIm (ORCPT ); Mon, 7 Mar 2016 22:08:42 -0500 Received: from out11.biz.mail.alibaba.com ([205.204.114.131]:34607 "EHLO out11.biz.mail.alibaba.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753231AbcCHDId (ORCPT ); Mon, 7 Mar 2016 22:08:33 -0500 X-Greylist: delayed 337 seconds by postgrey-1.27 at vger.kernel.org; Mon, 07 Mar 2016 22:08:33 EST X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03295;MF=hillf.zj@alibaba-inc.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_----4aTy0PK_1457406052; Reply-To: "Hillf Danton" From: "Hillf Danton" To: "'David Rientjes'" , "'Jan Stancek'" Cc: , , , , , , , References: In-Reply-To: Subject: Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers Date: Tue, 08 Mar 2016 11:00:52 +0800 Message-ID: <049701d178e6$ba604ea0$2f20ebe0$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQF69xWNZVH8udMiBQ5IFYMgajAT8AIDnGOyn+vB8sA= Content-Language: zh-cn Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 713 Lines: 19 > > 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: Hillf Danton > > Cc: "Kirill A. Shutemov" > > Cc: Dave Hansen > > Cc: Paul Gortmaker > > > > Signed-off-by: Jan Stancek > Acked-by: Hillf Danton