From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754626AbbKCCgy (ORCPT ); Mon, 2 Nov 2015 21:36:54 -0500 Received: from LGEAMRELO13.lge.com ([156.147.23.53]:56622 "EHLO lgeamrelo13.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753993AbbKCCgv (ORCPT ); Mon, 2 Nov 2015 21:36:51 -0500 X-Original-SENDERIP: 156.147.1.127 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 165.244.98.150 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 10.177.223.161 X-Original-MAILFROM: minchan@kernel.org Date: Tue, 3 Nov 2015 11:36:51 +0900 From: Minchan Kim To: Hugh Dickins CC: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michael Kerrisk , linux-api@vger.kernel.org, Johannes Weiner , zhangyanfei@cn.fujitsu.com, Rik van Riel , Mel Gorman , KOSAKI Motohiro , David Miller , "Darrick J. Wong" , Roland Dreier , Jason Evans , Daniel Micay , "Kirill A. Shutemov" , Michal Hocko , yalin.wang2010@gmail.com, Shaohua Li , Chen Gang , "rth@twiddle.net" , "ink@jurassic.park.msu.ru" , "mattst88@gmail.com" , Ralf Baechle , "jejb@parisc-linux.org" , "deller@gmx.de" , "chris@zankel.net" , "jcmvbkbc@gmail.com" , Arnd Bergmann , sparclinux@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH 3/8] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures Message-ID: <20151103023651.GI17906@bbox> References: <1446188504-28023-1-git-send-email-minchan@kernel.org> <1446188504-28023-4-git-send-email-minchan@kernel.org> <20151103023250.GH17906@bbox> MIME-Version: 1.0 In-Reply-To: <20151103023250.GH17906@bbox> User-Agent: Mutt/1.5.21 (2010-09-15) X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB08/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2015/11/03 11:36:48, Serialize by Router on LGEKRMHUB08/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2015/11/03 11:36:48, Serialize complete at 2015/11/03 11:36:48 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 03, 2015 at 11:32:51AM +0900, Minchan Kim wrote: > On Sun, Nov 01, 2015 at 04:08:27PM -0800, Hugh Dickins wrote: > > On Fri, 30 Oct 2015, Minchan Kim wrote: > > > From: Chen Gang > > > > > > For uapi, need try to let all macros have same value, and MADV_FREE is > > > added into main branch recently, so need redefine MADV_FREE for it. > > > > > > At present, '8' can be shared with all architectures, so redefine it to > > > '8'. > > > > > > Cc: rth@twiddle.net , > > > Cc: ink@jurassic.park.msu.ru > > > Cc: mattst88@gmail.com > > > Cc: Ralf Baechle > > > Cc: jejb@parisc-linux.org > > > Cc: deller@gmx.de > > > Cc: chris@zankel.net > > > Cc: jcmvbkbc@gmail.com > > > Cc: Arnd Bergmann > > > Cc: linux-arch@vger.kernel.org > > > Cc: linux-api@vger.kernel.org > > > Acked-by: Minchan Kim > > > Signed-off-by: Chen Gang > > > > Let me add > > Acked-by: Hugh Dickins > > to this one too. > > > > But I have extended your mail's Cc list: Darrick pointed out earlier > > that dietlibc has a Solaris #define MADV_FREE 0x5 in its mman.h, > > and that was in the kernel's sparc mman.h up until 2.6.25. I doubt > > that presents any obstacle nowadays, but Dave Miller should be Cc'ed. For the convenience for Dave, I found this. commit ec98c6b9b47df6df1c1fa6cf3d427414f8c2cf16 Author: David S. Miller Date: Sun Apr 20 02:14:23 2008 -0700 [SPARC]: Remove SunOS and Solaris binary support. As per Documentation/feature-removal-schedule.txt Signed-off-by: David S. Miller Hello Dave, Could you confirm it? Thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minchan Kim Subject: Re: [PATCH 3/8] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures Date: Tue, 3 Nov 2015 11:36:51 +0900 Message-ID: <20151103023651.GI17906@bbox> References: <1446188504-28023-1-git-send-email-minchan@kernel.org> <1446188504-28023-4-git-send-email-minchan@kernel.org> <20151103023250.GH17906@bbox> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: In-Reply-To: <20151103023250.GH17906@bbox> Content-Disposition: inline Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hugh Dickins Cc: Andrew Morton , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Michael Kerrisk , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Johannes Weiner , zhangyanfei-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org, Rik van Riel , Mel Gorman , KOSAKI Motohiro , David Miller , "Darrick J. Wong" , Roland Dreier , Jason Evans , Daniel Micay , "Kirill A. Shutemov" , Michal Hocko , yalin.wang2010-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Shaohua Li , Chen Gang , "rth-hL46jP5Bxq7R7s880joybQ@public.gmane.org" , "ink-biIs/Y0ymYJMZLIVYojuPNP0rXTJTi09@public.gmane.org" , "mattst88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , Ralf Baechle , jejb@parisc-linu List-Id: linux-api@vger.kernel.org On Tue, Nov 03, 2015 at 11:32:51AM +0900, Minchan Kim wrote: > On Sun, Nov 01, 2015 at 04:08:27PM -0800, Hugh Dickins wrote: > > On Fri, 30 Oct 2015, Minchan Kim wrote: > > > From: Chen Gang > > > > > > For uapi, need try to let all macros have same value, and MADV_FREE is > > > added into main branch recently, so need redefine MADV_FREE for it. > > > > > > At present, '8' can be shared with all architectures, so redefine it to > > > '8'. > > > > > > Cc: rth-hL46jP5Bxq7R7s880joybQ@public.gmane.org , > > > Cc: ink-biIs/Y0ymYJMZLIVYojuPNP0rXTJTi09@public.gmane.org > > > Cc: mattst88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > > Cc: Ralf Baechle > > > Cc: jejb-6jwH94ZQLHl74goWV3ctuw@public.gmane.org > > > Cc: deller-Mmb7MZpHnFY@public.gmane.org > > > Cc: chris-YvXeqwSYzG2sTnJN9+BGXg@public.gmane.org > > > Cc: jcmvbkbc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > > Cc: Arnd Bergmann > > > Cc: linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > > Cc: linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > > Acked-by: Minchan Kim > > > Signed-off-by: Chen Gang > > > > Let me add > > Acked-by: Hugh Dickins > > to this one too. > > > > But I have extended your mail's Cc list: Darrick pointed out earlier > > that dietlibc has a Solaris #define MADV_FREE 0x5 in its mman.h, > > and that was in the kernel's sparc mman.h up until 2.6.25. I doubt > > that presents any obstacle nowadays, but Dave Miller should be Cc'ed. For the convenience for Dave, I found this. commit ec98c6b9b47df6df1c1fa6cf3d427414f8c2cf16 Author: David S. Miller Date: Sun Apr 20 02:14:23 2008 -0700 [SPARC]: Remove SunOS and Solaris binary support. As per Documentation/feature-removal-schedule.txt Signed-off-by: David S. Miller Hello Dave, Could you confirm it? Thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minchan Kim Date: Tue, 03 Nov 2015 02:36:51 +0000 Subject: Re: [PATCH 3/8] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures Message-Id: <20151103023651.GI17906@bbox> List-Id: References: <1446188504-28023-1-git-send-email-minchan@kernel.org> <1446188504-28023-4-git-send-email-minchan@kernel.org> <20151103023250.GH17906@bbox> In-Reply-To: <20151103023250.GH17906@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Hugh Dickins Cc: Andrew Morton , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Michael Kerrisk , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Johannes Weiner , zhangyanfei-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org, Rik van Riel , Mel Gorman , KOSAKI Motohiro , David Miller , "Darrick J. Wong" , Roland Dreier , Jason Evans , Daniel Micay , "Kirill A. Shutemov" , Michal Hocko , yalin.wang2010-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Shaohua Li , Chen Gang , "rth-hL46jP5Bxq7R7s880joybQ@public.gmane.org" , "ink-biIs/Y0ymYJMZLIVYojuPNP0rXTJTi09@public.gmane.org" , "mattst88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , Ralf Baechle , jejb@parisc-linu On Tue, Nov 03, 2015 at 11:32:51AM +0900, Minchan Kim wrote: > On Sun, Nov 01, 2015 at 04:08:27PM -0800, Hugh Dickins wrote: > > On Fri, 30 Oct 2015, Minchan Kim wrote: > > > From: Chen Gang > > > > > > For uapi, need try to let all macros have same value, and MADV_FREE is > > > added into main branch recently, so need redefine MADV_FREE for it. > > > > > > At present, '8' can be shared with all architectures, so redefine it to > > > '8'. > > > > > > Cc: rth@twiddle.net , > > > Cc: ink@jurassic.park.msu.ru > > > Cc: mattst88@gmail.com > > > Cc: Ralf Baechle > > > Cc: jejb@parisc-linux.org > > > Cc: deller@gmx.de > > > Cc: chris@zankel.net > > > Cc: jcmvbkbc@gmail.com > > > Cc: Arnd Bergmann > > > Cc: linux-arch@vger.kernel.org > > > Cc: linux-api@vger.kernel.org > > > Acked-by: Minchan Kim > > > Signed-off-by: Chen Gang > > > > Let me add > > Acked-by: Hugh Dickins > > to this one too. > > > > But I have extended your mail's Cc list: Darrick pointed out earlier > > that dietlibc has a Solaris #define MADV_FREE 0x5 in its mman.h, > > and that was in the kernel's sparc mman.h up until 2.6.25. I doubt > > that presents any obstacle nowadays, but Dave Miller should be Cc'ed. For the convenience for Dave, I found this. commit ec98c6b9b47df6df1c1fa6cf3d427414f8c2cf16 Author: David S. Miller Date: Sun Apr 20 02:14:23 2008 -0700 [SPARC]: Remove SunOS and Solaris binary support. As per Documentation/feature-removal-schedule.txt Signed-off-by: David S. Miller Hello Dave, Could you confirm it? Thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by kanga.kvack.org (Postfix) with ESMTP id A32A682F64 for ; Mon, 2 Nov 2015 21:36:53 -0500 (EST) Received: by pacfv9 with SMTP id fv9so4281019pac.3 for ; Mon, 02 Nov 2015 18:36:53 -0800 (PST) Received: from lgeamrelo13.lge.com (LGEAMRELO13.lge.com. [156.147.23.53]) by mx.google.com with ESMTPS id cl4si39488413pad.26.2015.11.02.18.36.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Nov 2015 18:36:52 -0800 (PST) Date: Tue, 3 Nov 2015 11:36:51 +0900 From: Minchan Kim Subject: Re: [PATCH 3/8] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures Message-ID: <20151103023651.GI17906@bbox> References: <1446188504-28023-1-git-send-email-minchan@kernel.org> <1446188504-28023-4-git-send-email-minchan@kernel.org> <20151103023250.GH17906@bbox> MIME-Version: 1.0 In-Reply-To: <20151103023250.GH17906@bbox> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Sender: owner-linux-mm@kvack.org List-ID: To: Hugh Dickins Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michael Kerrisk , linux-api@vger.kernel.org, Johannes Weiner , zhangyanfei@cn.fujitsu.com, Rik van Riel , Mel Gorman , KOSAKI Motohiro , David Miller , "Darrick J. Wong" , Roland Dreier , Jason Evans , Daniel Micay , "Kirill A. Shutemov" , Michal Hocko , yalin.wang2010@gmail.com, Shaohua Li , Chen Gang , "rth@twiddle.net" , "ink@jurassic.park.msu.ru" , "mattst88@gmail.com" , Ralf Baechle , "jejb@parisc-linux.org" , "deller@gmx.de" , "chris@zankel.net" , "jcmvbkbc@gmail.com" , Arnd Bergmann , sparclinux@vger.kernel.org, linux-arch@vger.kernel.org On Tue, Nov 03, 2015 at 11:32:51AM +0900, Minchan Kim wrote: > On Sun, Nov 01, 2015 at 04:08:27PM -0800, Hugh Dickins wrote: > > On Fri, 30 Oct 2015, Minchan Kim wrote: > > > From: Chen Gang > > > > > > For uapi, need try to let all macros have same value, and MADV_FREE is > > > added into main branch recently, so need redefine MADV_FREE for it. > > > > > > At present, '8' can be shared with all architectures, so redefine it to > > > '8'. > > > > > > Cc: rth@twiddle.net , > > > Cc: ink@jurassic.park.msu.ru > > > Cc: mattst88@gmail.com > > > Cc: Ralf Baechle > > > Cc: jejb@parisc-linux.org > > > Cc: deller@gmx.de > > > Cc: chris@zankel.net > > > Cc: jcmvbkbc@gmail.com > > > Cc: Arnd Bergmann > > > Cc: linux-arch@vger.kernel.org > > > Cc: linux-api@vger.kernel.org > > > Acked-by: Minchan Kim > > > Signed-off-by: Chen Gang > > > > Let me add > > Acked-by: Hugh Dickins > > to this one too. > > > > But I have extended your mail's Cc list: Darrick pointed out earlier > > that dietlibc has a Solaris #define MADV_FREE 0x5 in its mman.h, > > and that was in the kernel's sparc mman.h up until 2.6.25. I doubt > > that presents any obstacle nowadays, but Dave Miller should be Cc'ed. For the convenience for Dave, I found this. commit ec98c6b9b47df6df1c1fa6cf3d427414f8c2cf16 Author: David S. Miller Date: Sun Apr 20 02:14:23 2008 -0700 [SPARC]: Remove SunOS and Solaris binary support. As per Documentation/feature-removal-schedule.txt Signed-off-by: David S. Miller Hello Dave, Could you confirm it? Thanks. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org