Received: by 10.192.165.148 with SMTP id m20csp605618imm; Fri, 27 Apr 2018 04:40:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr0gdPQ/ozH4izA5+P+YhVW/SGDgdRzXa4vJdJ2xlMBb8pW1VqByI9SbqxYtE03i3dS+eIu X-Received: by 2002:a63:750c:: with SMTP id q12-v6mr1781736pgc.395.1524829251321; Fri, 27 Apr 2018 04:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524829251; cv=none; d=google.com; s=arc-20160816; b=SwA/m5m+S9XQeT5Yf6vw880Pnp040Amw7w49Xv1OqslJM31cVDLH7nyZErdHx47bgX snSC7wmE/bsxQ/8KgfAfJAoJOKGXG2nhOPKDqoxa1P2okN9bnRv9t3ty1gVE8lDgpi7o 4Cw/p+QZPD79JOuuODEsmENdYvlZ96sVkQo8Gr3ZYuH+BzuJoNYF3OdjkyjiBbAIeLZg AXmu6aUF31JT0Xxb7/ngnZ6LBg+X0X01W4YAcP5AvQG9KZFv+bEBRcTPX2cAVJQS90/L pQmUOlBOQdDI5tMzuoCoJ5hdNHJ/lZ76391f67adI5U7TPutN1kEG4M3DDUeeM/bWIHo 0iVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=9GuoJpjTEiL0SvkBzLEu+FDGrqb+aKjBb27drxlsW74=; b=AXW8NCMaSbtBWswiMw6i9ueuHXo63grpqcVjhW8dsEg2v6uMnM9NAZpkaB73/Gat0A /08gI1Zv4JgGnI6XzSne2jG7tVmJWicxgK6dNVcBG7Uc8s5FSnnv+F6EOJ9aQCn6qqHa 2h+jT/xSDc8g04RzxAzTcfpL5ka1LnQpg+WuRVcZ4/3xzgwM2Tak/fhhaRRRvFJVGvts cCT86PYRW0ZF2pEqNj0Q6zynVrPZu32pYDEsn+qULUjnssFWwp/1uqc2t/fYL/lxexMb x9h4QzOqpsdlIQAvrMdrY/qAIGEgOR8u3QQQdgbBgjZv3hk+sErXr45qiwwSnqWbyIZl 5Wqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b38-v6si1152874pla.124.2018.04.27.04.40.37; Fri, 27 Apr 2018 04:40:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757752AbeD0Lj3 (ORCPT + 99 others); Fri, 27 Apr 2018 07:39:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:59435 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757545AbeD0Lj1 (ORCPT ); Fri, 27 Apr 2018 07:39:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 58717AF06; Fri, 27 Apr 2018 11:39:25 +0000 (UTC) Date: Fri, 27 Apr 2018 13:39:23 +0200 From: Michal Hocko 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" 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> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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