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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 31039CDB46E for ; Thu, 12 Oct 2023 11:08:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8yP6CPH6JhxVTqdEBcfEn4nthUOMJFOum0k3PKS0kCg=; b=T1kAP2NLwkBAEj a5VsHaVPqwlyUCXjXmEcyuqwxCY6dxNGFigdKF5tx1PXwUXAInNST/4SOQ3Ekpjc1M5PV/+gHRGP6 Nap+e235YuwNiLiRf+/a+5FdDDXIiBc6yI+/oG6pE9YBqK+BhdeWoJelRjE9y/XQyoGdSI6mqccVK lQopxX8RIsPRLNALtiHfv989j/LK8VsuDoXiEVO9OK3tqUGi1os70MBiEbiuZV6ZErZYi2FU5fLLB aleO5+//hdhIh58rA7lE8y3mFQc6PN/eUA04xIbwZpd2o4GF+GArP0idgdcc7ExMIZleyix8XoAXe Zde210dzDUL4tYqv6n+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqtXg-000k2a-1N; Thu, 12 Oct 2023 11:07:48 +0000 Received: from mail.ozlabs.org ([2404:9400:2221:ea00::3] helo=gandalf.ozlabs.org) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqtXc-000k0H-35 for linux-arm-kernel@lists.infradead.org; Thu, 12 Oct 2023 11:07:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1697108852; bh=6OsxE8kV2xPTFulSGmBi28q09UFtUYgFyf1Emr7m/7A=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VDx3tQ87D/n3Su76DDY5c5gznJtSvPRang3Mx9bCeIPCjwjUPr9G0mCFm0PxhngwL ZCuZ5Od7n3VtI386qVODEFFFPcwMufDJEpQaKTGSouVZhqzc0ZLQRHKkVnfw5ltSqA comqa8d0qr4bMVfi4uo1E42BuYfqs1+wmBJ4XF0NXNiK46ZMmcgO7AFEzh3MWjC+fS W013YuBkEp1d2MuCeoNIdH1GJ+42bNX13Ni/DI1DZinNx0moSCelY02xmTwLTCnh9C rrDEUR/yJEgCktS2SOt3WRXHgxqdqq1fhNOz3UHeeWsETZLNZ3kqOkyGP3wpYr6AcN FXBlsp5E6oekQ== 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 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4S5n0g1rM6z4xMC; Thu, 12 Oct 2023 22:07:31 +1100 (AEDT) From: Michael Ellerman To: Andrew Morton Cc: Ryan Roberts , "Aneesh Kumar K.V" , Matthew Wilcox , Yin Fengwei , David Hildenbrand , Yu Zhao , Catalin Marinas , Anshuman Khandual , Yang Shi , "Huang, Ying" , Zi Yan , Luis Chamberlain , Itaru Kitayama , "Kirill A. Shutemov" , John Hubbard , David Rientjes , Vlastimil Babka , Hugh Dickins , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v6 4/9] mm: thp: Introduce anon_orders and anon_always_mask sysfs files In-Reply-To: <20231009172029.e558c08dd90d9b94fec3a036@linux-foundation.org> References: <20230929114421.3761121-1-ryan.roberts@arm.com> <20230929114421.3761121-5-ryan.roberts@arm.com> <20230929155530.a51e68e03e47a06b6b84c689@linux-foundation.org> <87fs2mrqld.fsf@mail.lhotse> <20231009172029.e558c08dd90d9b94fec3a036@linux-foundation.org> Date: Thu, 12 Oct 2023 22:07:26 +1100 Message-ID: <87o7h4qett.fsf@mail.lhotse> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231012_040745_198462_81BC1E48 X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Andrew Morton writes: > On Sun, 08 Oct 2023 09:54:22 +1100 Michael Ellerman wrote: > >> > I don't know why powerpc's PTE_INDEX_SIZE is variable. >> >> To allow a single vmlinux to boot using either the Hashed Page Table >> MMU, or Radix Tree MMU, which have different page table geometry. >> >> That's a pretty crucial feature for distros, so that they can build a >> single kernel to boot on Power8/9/10. > > Dumb question: why can't distros ship two kernels and have the boot > loader (or something else) pick the appropriate one? I'm not a grub expert, but AFAIK it doesn't support loading a different kernel based on CPU/firwmare features. I'm quite sure it can't do that on powerpc at least. We also have another bootloader (petitboot) that is still supported by some distros, and can't do that. The other problem is like David says, distros are generally reluctant to add new kernel configurations unless they absolutely have to. It adds more work for them, more things to track, and can confuse users leading to spurious bug reports. cheers _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel