Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1294837pxj; Sat, 15 May 2021 09:54:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwF3fP3cuWpi5okC2xrBk6XsBb/VicFWZ0Ozy07qSQPVvZT6CMJO5snELNyZ3hyKjJ6PeVd X-Received: by 2002:a92:de0c:: with SMTP id x12mr7288039ilm.282.1621097658378; Sat, 15 May 2021 09:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621097658; cv=none; d=google.com; s=arc-20160816; b=KCQOo2rb/Dae7s9pBN2Gg5goVb38yVDEiL7CjWan7nFE2VAhzsEcknzz631HX/h/mB XxLXiguPUjuBvf56eIMOnz4Oo+hs733XbJJKKoKgzgguUVt0TE0GpUWUy9SAQSb83qss +jRHZcGHmQMPq1UGHyaNgmhou5pHeBvKUMk2Dg5lpSk6mcXZKiUW9HoI7v+jIIdc6LaE zttQDIQvwTSGDzykjj5W0tT+/ijHcFR631KQ4EiW5pSUqtrA9O151KIOR3l+nfmUUJlb AFQUChUNNHxfsUJ/dNkmsRKzlCJKhyaNGXziXaToWACNvmQoZZzthyN4TDC7v8jMOqjE 7/ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i60OR4RRLXP4/3BWcZfuRF1Az2OsQssAU3XB0hh6lpw=; b=XOwwEp6Zu65Q6d7AkjkZZbr30vw7i/wSA2mCckye4Ejg8IOhHlXd7AFRNAkVt3g2FM iDy8vRyDpKQaYVfrlvJoURxJ+QoE0vgfGv369aaaAk06qEjV+vFSMfR6b7iX0rZxxu8j 4yF1o5dhtQhnPZSOv3G4f0NLEcWKqd4XzJUoDyn68o74q3yd/j3NKl/0T0QUFzincOsZ h+kHaF2bscWqWPZiTmwzdE2AUZ6d6nH+5d1BSSWoQwS0p/fJ1Mo+OOYSRDgxikapogLW 0usAPG3ZTKZQStg2NEZhWmM9qVvn/bamdk6RrhJ+Sn5y1wt4tyO6UnCDisDvXvVXGG+2 M4AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AJGtllVD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si12110336ilg.93.2021.05.15.09.54.06; Sat, 15 May 2021 09:54:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AJGtllVD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229501AbhEOEAR (ORCPT + 99 others); Sat, 15 May 2021 00:00:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:51056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbhEOEAR (ORCPT ); Sat, 15 May 2021 00:00:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9F220613F6; Sat, 15 May 2021 03:59:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621051144; bh=Z1sccg2vrpIeTClwluNbqzKfuQ+iCA6YJXcgWJREDvo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AJGtllVDTxzsfnQoqk8BsCbL64losT+Ty47Mg00VeF0nf6O82MPJ4NXwclyYvMmjU 6To2isk6gBN6F7TMXgX3O8djMUZfQn6d2WNAOfFd2afdfKBNfYGfuEHSiKRQT8Q984 ImdElmlY38m5D0beV6Ke2Gkbgyor8Kfx1/LnuM81Fi6X9ghxMu/2J4wek/8dVZ998P f1JqGJTkRYzzXMKKduiP/OHQM/m56qOQcav6Jt//03j3VosRZ77UWA5SZdukjMT/39 3MqPRJ2WKfoOXg+d7S1Puls51F/EiiR0wRlp1htvcOFmyrWwq7yB6acKq7gw4x0K/2 UqF1mdOKHOuRQ== Date: Fri, 14 May 2021 20:58:58 -0700 From: Nathan Chancellor To: Andrew Morton Cc: Christophe Leroy , Nicholas Piggin , Mike Kravetz , Mike Rapoport , naresh.kamboju@linaro.org, linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sparclinux@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] arm64: Define only {pud/pmd}_{set/clear}_huge when usefull Message-ID: References: <73ec95f40cafbbb69bdfb43a7f53876fd845b0ce.1620990479.git.christophe.leroy@csgroup.eu> <20210514144200.b49ee77c9b2a7f9998ffbf22@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210514144200.b49ee77c9b2a7f9998ffbf22@linux-foundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 14, 2021 at 02:42:00PM -0700, Andrew Morton wrote: > On Fri, 14 May 2021 11:08:53 +0000 (UTC) Christophe Leroy wrote: > > > When PUD and/or PMD are folded, those functions are useless > > and we now have a stub in linux/pgtable.h > > OK, help me out here please. What patch does this fix? > Naresh's original report is here it seems: https://lore.kernel.org/r/CA+G9fYv79t0+2W4Rt3wDkBShc4eY3M3utC5BHqUgGDwMYExYMw@mail.gmail.com/ I can reproduce the failure that he reported with ARCH=arm64 allmodconfig and this patch resolves it for me. Cheers, Nathan