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 A60A8CD68E0 for ; Tue, 10 Oct 2023 00:21:41 +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:References:In-Reply-To: Message-Id:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XuLf2mTx9lTtZnPXvimTCztRmrHXyEtRuYxq0bbn63I=; b=gODRI7OAer91b0 inxv9UbZBUyTArFcR9SpNvWLWBZebjjh1n+6zYEWMFczCdXnH+Omkqjog7mMnfrKj5LKPl1bi5bu9 tXPDjbNA/6GGcZKmNsanATzoeO8o3V4IjhTb/wYkuptvLR2zzFfGjJExGKXcig8o/dOUW9fXmpSvv u4W+n4+ivCbDpKEecebI9R7KmYblE3rjrDljYnwTElszp9Eb3JDCYWEhxgJZVDx1cXOCEPAq/6Ygn 14OmBJ9b3p8KCCEXHBExS58H5pMB3+05OBaJRqhBpZrcadIa8qsATyXJgyK+inWpwO8wYP7Wf+sLe XaPOR4SJGhOys6hh/wkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qq0Uq-00Brtb-1d; Tue, 10 Oct 2023 00:21:12 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qq0Uk-00Brrm-26 for linux-arm-kernel@lists.infradead.org; Tue, 10 Oct 2023 00:21:10 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 24A1BB8092E; Tue, 10 Oct 2023 00:21:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D9ABC433C7; Tue, 10 Oct 2023 00:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1696897264; bh=M2oTNjw+9oq9sArieyw8dMMJbRTMAqtdZlPZHyT7WZI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uQroNQB6k9niizpuC63Fv9XYLdlrpW9Bngk5KLAi5UgTJ0dWDAlqM1+rDzHRmGwqd lLJ3q8SiOEEdslQ7bN/Q4s/CPzA7AyOORjiP90Km+SwxICg3mRocb8bvgCiY+4DJfw Mc5plxr0GwlubQrxCTRJ0fTbVOWmk3liNJnBW7i0= Date: Mon, 9 Oct 2023 17:20:29 -0700 From: Andrew Morton To: Michael Ellerman 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 Message-Id: <20231009172029.e558c08dd90d9b94fec3a036@linux-foundation.org> In-Reply-To: <87fs2mrqld.fsf@mail.lhotse> References: <20230929114421.3761121-1-ryan.roberts@arm.com> <20230929114421.3761121-5-ryan.roberts@arm.com> <20230929155530.a51e68e03e47a06b6b84c689@linux-foundation.org> <87fs2mrqld.fsf@mail.lhotse> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_172106_822643_0F022664 X-CRM114-Status: GOOD ( 11.10 ) 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 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? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel