From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f199.google.com (mail-pf0-f199.google.com [209.85.192.199]) by kanga.kvack.org (Postfix) with ESMTP id C2B076B0005 for ; Fri, 27 Apr 2018 07:39:28 -0400 (EDT) Received: by mail-pf0-f199.google.com with SMTP id b64so1405426pfl.13 for ; Fri, 27 Apr 2018 04:39:28 -0700 (PDT) Received: from mx2.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id e26si1136200pfb.185.2018.04.27.04.39.27 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 27 Apr 2018 04:39:27 -0700 (PDT) Date: Fri, 27 Apr 2018 13:39:23 +0200 From: Michal Hocko Subject: Re: [PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces Message-ID: <20180427113923.GF17484@dhcp22.suse.cz> References: <20180314180155.19492-1-toshi.kani@hpe.com> <20180314180155.19492-3-toshi.kani@hpe.com> <20180426141926.GN15462@8bytes.org> <1524759629.2693.465.camel@hpe.com> <20180426172327.GQ15462@8bytes.org> <1524764948.2693.478.camel@hpe.com> <20180426200737.GS15462@8bytes.org> <1524781764.2693.503.camel@hpe.com> <20180427073719.GT15462@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180427073719.GT15462@8bytes.org> Sender: owner-linux-mm@kvack.org List-ID: To: "joro@8bytes.org" Cc: "Kani, Toshi" , "linux-kernel@vger.kernel.org" , "bp@suse.de" , "tglx@linutronix.de" , "linux-mm@kvack.org" , "guohanjun@huawei.com" , "wxf.wang@hisilicon.com" , "stable@vger.kernel.org" , "x86@kernel.org" , "akpm@linux-foundation.org" , "willy@infradead.org" , "hpa@zytor.com" , "catalin.marinas@arm.com" , "mingo@redhat.com" , "will.deacon@arm.com" , "cpandya@codeaurora.org" , "linux-arm-kernel@lists.infradead.org" On Fri 27-04-18 09:37:20, joro@8bytes.org wrote: [...] > So until we make the generic ioremap code in lib/ioremap.c smarter about > unmapping/remapping ranges the best solution is making my fix work again > by reverting your patch. Could you reuse the same mmu_gather mechanism as we use in the zap_*_range? -- Michal Hocko SUSE Labs