From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F401C2B9F4 for ; Fri, 25 Jun 2021 23:46:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A149E61954 for ; Fri, 25 Jun 2021 23:46:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A149E61954 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8648E6B008C; Fri, 25 Jun 2021 19:46:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8147F8D0005; Fri, 25 Jun 2021 19:46:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6B4798D0003; Fri, 25 Jun 2021 19:46:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0160.hostedemail.com [216.40.44.160]) by kanga.kvack.org (Postfix) with ESMTP id 3B9576B008C for ; Fri, 25 Jun 2021 19:46:57 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 525B518030091 for ; Fri, 25 Jun 2021 23:46:57 +0000 (UTC) X-FDA: 78293884074.09.8357DFB Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) by imf15.hostedemail.com (Postfix) with ESMTP id 9319FA000270 for ; Fri, 25 Jun 2021 23:46:56 +0000 (UTC) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4GBYZ30Gk2z9sTD; Sat, 26 Jun 2021 09:46:50 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1624664811; bh=mqjtE2ltdfXhC7NObFmQQYR+R0sNSDV94cZ9C2sgJWE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=LotHKufoVc972Qccm3q9JON0ByoiUAiSMVe5SwPkRZJDpTsdVD4cw+v/nY/gkR8v2 QJNiSgqIiURMw9S1b23S//wFYWf/NEd5LsAPc+rUtf4P2+dr6mXZwPdnvSBmGyu3CY YXQ8Kg9+i4EmilyMjUDOWaVwLB3lpjG7rnQMr0gvN3WxVGUMpMnSAuJt+oVbk9ciPh RL0+3YcIUfM6V1l/gTtnbZRchDGQ0guwYpa7zskCrtrZljUZuLtfmI/9olnNjRsYk/ EU/uxByT8/fsTMz9VgeQUGEGCiiN4ipVhN9rbDj2/tZtSh/cXw5CEvayeXs8EuELwe Z/qQlfPPksi5Q== From: Michael Ellerman To: Christophe Leroy , akpm@linux-foundation.org Cc: linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Oliver O'Halloran , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Paul Mackerras , dja@axtens.net, Steven Price , Benjamin Herrenschmidt Subject: Re: [PATCH v2 1/4] mm: pagewalk: Fix walk for hugepage tables In-Reply-To: <217a6b38-a6ac-84d5-e3dc-257331431bb2@csgroup.eu> References: <874kdm1rim.fsf@mpe.ellerman.id.au> <217a6b38-a6ac-84d5-e3dc-257331431bb2@csgroup.eu> Date: Sat, 26 Jun 2021 09:46:47 +1000 Message-ID: <87pmw9zevs.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=ellerman.id.au header.s=201909 header.b=LotHKufo; spf=pass (imf15.hostedemail.com: domain of mpe@ellerman.id.au designates 203.11.71.1 as permitted sender) smtp.mailfrom=mpe@ellerman.id.au; dmarc=none X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 9319FA000270 X-Stat-Signature: 85ijq4s3zyzc43kufhn135eztqu4ndu4 X-HE-Tag: 1624664816-380592 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Christophe Leroy writes: > Le 25/06/2021 =C3=A0 06:45, Michael Ellerman a =C3=A9crit=C2=A0: >> Christophe Leroy writes: >>> Hi Michael, >>> >>> Le 19/04/2021 =C3=A0 12:47, Christophe Leroy a =C3=A9crit=C2=A0: >>>> Pagewalk ignores hugepd entries and walk down the tables >>>> as if it was traditionnal entries, leading to crazy result. >>>> >>>> Add walk_hugepd_range() and use it to walk hugepage tables. >>> >>> I see you took patch 2 and 3 of the series. >>=20 >> Yeah I decided those were bug fixes so could be taken separately. >>=20 >>> Do you expect Andrew to take patch 1 via mm tree, and then you'll take >>> patch 4 once mm tree is merged ? >>=20 >> I didn't feel I could take patch 1 via the powerpc tree without risking >> conflicts. >>=20 >> Andrew could take patch 1 and 4 via mm, though he might not want to pick >> them up this late. > > Patch 4 needs patches 2 and 3 and doesn't apply without them so it is not= that easy. Ah duh, sorry. > Maybe Andrew you can take patch 1 now and then Michael you can take patch= 4 at anytime during 5.15=20 > preparation without any conflict risk ? Yeah that would work. >> I guess step one would be to repost 1 and 4 as a new series. Either they >> can go via mm, or for 5.15 I could probably take them both as long as I >> pick them up early enough. >>=20 > > I'll first repost patch 1 as standalone and see what happens. Thanks. cheers