From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Schwidefsky Subject: Re: [PATCH 30/38] s390: drop pte_file()-related helpers Date: Tue, 30 Dec 2014 11:55:56 +0100 Message-ID: <20141230115556.1a8b1a94@mschwide> References: <1419423766-114457-1-git-send-email-kirill.shutemov@linux.intel.com> <1419423766-114457-31-git-send-email-kirill.shutemov@linux.intel.com> <20141229110727.75afa56d@mschwide> <20141229103757.GA379@node.dhcp.inet.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141229103757.GA379@node.dhcp.inet.fi> Sender: owner-linux-mm@kvack.org To: "Kirill A. Shutemov" Cc: "Kirill A. Shutemov" , akpm@linux-foundation.org, peterz@infradead.org, mingo@kernel.org, davej@redhat.com, sasha.levin@oracle.com, hughd@google.com, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Heiko Carstens List-Id: linux-arch.vger.kernel.org On Mon, 29 Dec 2014 12:37:57 +0200 "Kirill A. Shutemov" wrote: > On Mon, Dec 29, 2014 at 11:07:27AM +0100, Martin Schwidefsky wrote: > > On Wed, 24 Dec 2014 14:22:38 +0200 > > "Kirill A. Shutemov" wrote: > > > > > We've replaced remap_file_pages(2) implementation with emulation. > > > Nobody creates non-linear mapping anymore. > > > > > > Signed-off-by: Kirill A. Shutemov > > > Cc: Martin Schwidefsky > > > Cc: Heiko Carstens > > > --- > > > @@ -279,7 +279,6 @@ static inline int is_module_addr(void *addr) > > > * > > > * pte_present is true for the bit pattern .xx...xxxxx1, (pte & 0x001) == 0x001 > > > * pte_none is true for the bit pattern .10...xxxx00, (pte & 0x603) == 0x400 > > > - * pte_file is true for the bit pattern .11...xxxxx0, (pte & 0x601) == 0x600 > > > * pte_swap is true for the bit pattern .10...xxxx10, (pte & 0x603) == 0x402 > > > */ > > > > Nice, once this is upstream I can free up one of the software bits in > > the pte by redefining the type bits. Right now all of them are used up. > > Is the removal of non-linear mappings a done deal ? > > Yes, if no horrible regression will be reported. We don't create > non-linear mapping in -mm (and -next) tree for a few release cycles. > Nobody complained so far. > > Ack? Yes, ack! -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:36153 "EHLO e06smtp15.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbaL3K4F (ORCPT ); Tue, 30 Dec 2014 05:56:05 -0500 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 30 Dec 2014 10:56:03 -0000 Date: Tue, 30 Dec 2014 11:55:56 +0100 From: Martin Schwidefsky Subject: Re: [PATCH 30/38] s390: drop pte_file()-related helpers Message-ID: <20141230115556.1a8b1a94@mschwide> In-Reply-To: <20141229103757.GA379@node.dhcp.inet.fi> References: <1419423766-114457-1-git-send-email-kirill.shutemov@linux.intel.com> <1419423766-114457-31-git-send-email-kirill.shutemov@linux.intel.com> <20141229110727.75afa56d@mschwide> <20141229103757.GA379@node.dhcp.inet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: "Kirill A. Shutemov" Cc: "Kirill A. Shutemov" , akpm@linux-foundation.org, peterz@infradead.org, mingo@kernel.org, davej@redhat.com, sasha.levin@oracle.com, hughd@google.com, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Heiko Carstens Message-ID: <20141230105556.ojUGFkoVlEMQLxZOKr-KcWU4MffevmaTFOtqruqkyDE@z> On Mon, 29 Dec 2014 12:37:57 +0200 "Kirill A. Shutemov" wrote: > On Mon, Dec 29, 2014 at 11:07:27AM +0100, Martin Schwidefsky wrote: > > On Wed, 24 Dec 2014 14:22:38 +0200 > > "Kirill A. Shutemov" wrote: > > > > > We've replaced remap_file_pages(2) implementation with emulation. > > > Nobody creates non-linear mapping anymore. > > > > > > Signed-off-by: Kirill A. Shutemov > > > Cc: Martin Schwidefsky > > > Cc: Heiko Carstens > > > --- > > > @@ -279,7 +279,6 @@ static inline int is_module_addr(void *addr) > > > * > > > * pte_present is true for the bit pattern .xx...xxxxx1, (pte & 0x001) == 0x001 > > > * pte_none is true for the bit pattern .10...xxxx00, (pte & 0x603) == 0x400 > > > - * pte_file is true for the bit pattern .11...xxxxx0, (pte & 0x601) == 0x600 > > > * pte_swap is true for the bit pattern .10...xxxx10, (pte & 0x603) == 0x402 > > > */ > > > > Nice, once this is upstream I can free up one of the software bits in > > the pte by redefining the type bits. Right now all of them are used up. > > Is the removal of non-linear mappings a done deal ? > > Yes, if no horrible regression will be reported. We don't create > non-linear mapping in -mm (and -next) tree for a few release cycles. > Nobody complained so far. > > Ack? Yes, ack! -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.