From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH 0/3] generic asm: mman cleanup Date: Sun, 10 Feb 2019 23:20:35 -0500 Message-ID: <20190210231841-mutt-send-email-mst@kernel.org> References: <20190124142448.23243-1-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190124142448.23243-1-mst@redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org, Arnd Bergmann List-Id: linux-arch.vger.kernel.org On Fri, Feb 08, 2019 at 01:02:51AM -0500, Michael S. Tsirkin wrote: > Now that we have MAP_SHARED, MAP_PRIVATE and MAP_SHARED_VALIDATE on all > architectures, it probably makes sense to de-duplicate these > and put them into a common header. > > Please review and consider merging though the generic tree. > > Build tested on x86 only. Has been in linux-next for a while now. Arnd, would you consider merging at least the cleanups 2/3 and 3/3? In linux-next they had no ill effects and make things slightly cleaner IMO. > Michael S. Tsirkin (3): > x86/mpx: tweak header name > drm: tweak header name > arch: move common mmap flags to linux/mman.h > > arch/alpha/include/uapi/asm/mman.h | 4 +--- > arch/mips/include/uapi/asm/mman.h | 4 +--- > arch/parisc/include/uapi/asm/mman.h | 4 +--- > arch/x86/mm/mpx.c | 2 +- > arch/xtensa/include/uapi/asm/mman.h | 4 +--- > include/drm/drmP.h | 3 +-- > include/uapi/asm-generic/mman-common.h | 4 +--- > include/uapi/linux/mman.h | 4 ++++ > 8 files changed, 11 insertions(+), 18 deletions(-) > > -- > MST > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f196.google.com ([209.85.160.196]:37405 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbfBKEUj (ORCPT ); Sun, 10 Feb 2019 23:20:39 -0500 Received: by mail-qt1-f196.google.com with SMTP id a48so10757952qtb.4 for ; Sun, 10 Feb 2019 20:20:38 -0800 (PST) Date: Sun, 10 Feb 2019 23:20:35 -0500 From: "Michael S. Tsirkin" Subject: Re: [PATCH 0/3] generic asm: mman cleanup Message-ID: <20190210231841-mutt-send-email-mst@kernel.org> References: <20190124142448.23243-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190124142448.23243-1-mst@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org, Arnd Bergmann Message-ID: <20190211042035.tAmNO7qXwbyGwxYHeIkYy-6JYUqOyrYcL_NiKqbtJG4@z> On Fri, Feb 08, 2019 at 01:02:51AM -0500, Michael S. Tsirkin wrote: > Now that we have MAP_SHARED, MAP_PRIVATE and MAP_SHARED_VALIDATE on all > architectures, it probably makes sense to de-duplicate these > and put them into a common header. > > Please review and consider merging though the generic tree. > > Build tested on x86 only. Has been in linux-next for a while now. Arnd, would you consider merging at least the cleanups 2/3 and 3/3? In linux-next they had no ill effects and make things slightly cleaner IMO. > Michael S. Tsirkin (3): > x86/mpx: tweak header name > drm: tweak header name > arch: move common mmap flags to linux/mman.h > > arch/alpha/include/uapi/asm/mman.h | 4 +--- > arch/mips/include/uapi/asm/mman.h | 4 +--- > arch/parisc/include/uapi/asm/mman.h | 4 +--- > arch/x86/mm/mpx.c | 2 +- > arch/xtensa/include/uapi/asm/mman.h | 4 +--- > include/drm/drmP.h | 3 +-- > include/uapi/asm-generic/mman-common.h | 4 +--- > include/uapi/linux/mman.h | 4 ++++ > 8 files changed, 11 insertions(+), 18 deletions(-) > > -- > MST >