Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp182708rdg; Thu, 12 Oct 2023 02:32:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1yGoqkZ8dKTNTXWXeSZZ7B46hdLX3r2d0TKo+r/uuaDl6UO9zQt3nY7GfxbZIaCoe3b7j X-Received: by 2002:a05:6358:5281:b0:143:8984:50c2 with SMTP id g1-20020a056358528100b00143898450c2mr22535993rwa.32.1697103141255; Thu, 12 Oct 2023 02:32:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697103141; cv=none; d=google.com; s=arc-20160816; b=bQgJO3WG9BA/PYo8F2uUTKp/L6UF4fEWoD/LPM55HAjX39RZ+cLcfh5OVGg04ns0XR uec28NMImeJHUJ+/D8hmIgPjRZ8hRpo77BTD1beTHAcl8oPdtQcrUks8Vgw6HEq71dEv liRp4d6v1hQuoSdf+EjaBtVcACex8RfnvQnkXcFj57me2ObanueIcIMtBrl8X1C3UdgY nBVVm7FBMyHtW4XkzPq49L/tH98XLfXdNBoyzn/8tx39iwStGj94ahsxYqRmrG4pSbs0 9nvOsFlVlnE8WYxA2jJQAD3Yg8GFUyC3BGZ1eJWQvx2u0VtZLak0ogutEU39TYFVgSlE z1Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=xSLDOzif9pe7NWfs6FAqs0gKz2RiKRhAj6wFDsEM4p4=; fh=BKaLTLj4Y7lYkQfTCfDdv18UfUb7NCxCsrKtg+e/vwc=; b=RLPBkFUxclXBKmO6H7YzHRChEUaphtbKg2KoEhYkVYs3sQ7CIpi+PyA8NdrTd3SqyD zPdzyU2C7NWhWVMn9ZSrJ/2+81jmSykWDqoTFdAsayyWP1AyGgSiPTC4YR6r5S7bJeeh p7UIh1oswWcYzTVsEUfT9mvK3YoR8j0EkltVe3WBhHX4i97jtBT5+D49HAaJTkaxlXcq BQZ1DNZG5aZJrdt1c5fkr8/uLmFrnBKeixDliL0aZhnqMvCk00u2MmKfvQu9e0bCM74N KKDkg0YEql2EVD2nYiz7vAFOEsFNWNdy2x7KR1te1ZR9lON1xxp0XiEujLnwwFOL8w9V QZmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="MhvzeC/Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id t32-20020a635360000000b005694a4640afsi1875813pgl.95.2023.10.12.02.32.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 02:32:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="MhvzeC/Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 317BF832CBFB; Thu, 12 Oct 2023 02:32:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235480AbjJLJcN (ORCPT + 99 others); Thu, 12 Oct 2023 05:32:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229981AbjJLJcM (ORCPT ); Thu, 12 Oct 2023 05:32:12 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3FE7C6 for ; Thu, 12 Oct 2023 02:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697103084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xSLDOzif9pe7NWfs6FAqs0gKz2RiKRhAj6wFDsEM4p4=; b=MhvzeC/ZmzKJFO+gS5sFUeVZAyR1e3Pfb2icIvSjl7L2TXik9PqvpARqWesF0Z0y5urLHw hR4WYvu7xzwDWOJsUrJ0xKYEKB9KxxXspXvs7LYTAncy4O72AYypTUgse4gdef/v/0YK+u uVCVspSUrWzqHQ2/zdIEV9IB5GraKhA= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-627-icfiZj3pOieiM6utf_xZcA-1; Thu, 12 Oct 2023 05:31:22 -0400 X-MC-Unique: icfiZj3pOieiM6utf_xZcA-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-32d931872cbso186801f8f.0 for ; Thu, 12 Oct 2023 02:31:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697103081; x=1697707881; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xSLDOzif9pe7NWfs6FAqs0gKz2RiKRhAj6wFDsEM4p4=; b=S10qYKYa2ctAmb8llpfccgkC5AxbZQJHhENYGohD8kNuUaMHyahAKS24aOmN7UBW2u SnqHx+gxDRqBQOQXml7SBvD1OuOevhNaXMaa5Eu3Zk1NpxirjH8GW1R2xS/LFXRSZ3JU Yp084AcbtQ1bgc0cR7CzN+e7rPoMIJA4qLsiv4+4RCawIHNQq0+eGFm6qFFVgjQWji8V wiPwCIULlrxqU09ftETbIhlayWFFq3pMBj1x6z03IH+BaEluJapXN8/90YVFLAG9FM76 Uk31UMLlBzZmBwKAy91pic5Uh5/w6E7HqGEDOLwhn5EHtZomHxSkgTARcua9IOTvVW9M 1vQQ== X-Gm-Message-State: AOJu0YyBCJYQwoUpE8PCwvR1Q23kJucFMOrtYxEFlSJmAVsk6WwkVbNP JkrylxKkK93QMvZZB9Md8ML5fC80sbclr/0M+CFqzkpLI1FOkwyLJvfbHUIFwNq5tDBuKLmozyQ l0NMJYTnsgpnEplCwGKRajGvx X-Received: by 2002:a5d:5487:0:b0:319:6997:942e with SMTP id h7-20020a5d5487000000b003196997942emr21160874wrv.8.1697103081679; Thu, 12 Oct 2023 02:31:21 -0700 (PDT) X-Received: by 2002:a5d:5487:0:b0:319:6997:942e with SMTP id h7-20020a5d5487000000b003196997942emr21160852wrv.8.1697103081266; Thu, 12 Oct 2023 02:31:21 -0700 (PDT) Received: from ?IPV6:2003:cb:c70d:ee00:b271:fb6c:a931:4769? (p200300cbc70dee00b271fb6ca9314769.dip0.t-ipconnect.de. [2003:cb:c70d:ee00:b271:fb6c:a931:4769]) by smtp.gmail.com with ESMTPSA id 20-20020a05600c22d400b004054dcbf92asm981775wmg.20.2023.10.12.02.31.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Oct 2023 02:31:20 -0700 (PDT) Message-ID: <0feef130-59dd-0a31-ed06-e3849a52c75e@redhat.com> Date: Thu, 12 Oct 2023 11:31:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v6 4/9] mm: thp: Introduce anon_orders and anon_always_mask sysfs files Content-Language: en-US To: Andrew Morton , Michael Ellerman Cc: Ryan Roberts , "Aneesh Kumar K.V" , Matthew Wilcox , Yin Fengwei , 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 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> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20231009172029.e558c08dd90d9b94fec3a036@linux-foundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 12 Oct 2023 02:32:19 -0700 (PDT) On 10.10.23 02:20, Andrew Morton wrote: > 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? One answer I keep hearing over and over again is "test matrix explosion". So distros only do it when unavoidable: for example, when differing PAGE_SIZE is required (e.g., 4k vs 64k) or we're dealing with RT support (RT vs !RT). -- Cheers, David / dhildenb