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=-7.3 required=3.0 tests=BAYES_00,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,USER_AGENT_SANE_1 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 C2FD7C43460 for ; Thu, 15 Apr 2021 09:30:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 99CD5610CE for ; Thu, 15 Apr 2021 09:30:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229878AbhDOJam (ORCPT ); Thu, 15 Apr 2021 05:30:42 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:32818 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230290AbhDOJaj (ORCPT ); Thu, 15 Apr 2021 05:30:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618479016; 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=MW/mRgvf+zkYoiSHfMZp2dDTVVI25+tYOHvOtleD70I=; b=Yw2DfK9B+OXWM/rqVDGaXRaRMKEk2pg0ChNAqZ10dMqWVZD39Ix2sMrA1w5W/gPaHq67Pf GxP7oWhimamBqeSTL8pYqS+Fs6837Kl1U1V2SVYyARgVG6VS/FadHjN29L8lYrXsH54/gd RXnCsOlDRu6rbp5fynQYegOeMxPDVWM= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-101-9ig1RjmSPvWzGjOcEVIztQ-1; Thu, 15 Apr 2021 05:30:14 -0400 X-MC-Unique: 9ig1RjmSPvWzGjOcEVIztQ-1 Received: by mail-wm1-f72.google.com with SMTP id b20-20020a7bc2540000b029010f7732a35fso1998570wmj.1 for ; Thu, 15 Apr 2021 02:30:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=MW/mRgvf+zkYoiSHfMZp2dDTVVI25+tYOHvOtleD70I=; b=stAE9j7xtOjkytdZO/CmIJcnNoHQqeoToy5jiB7L7xRB4vIxseupCBK8+2wWw2PyQg GiSmQ3O50yNtKpl2FFF4Loa5sHtRHJX52hXJNSWOGMDkXX5ezQYSiMVawJoS4urJhibo a4ZxOlKthxRZOaVV8O/0CanmfqqRcNrZjDJr7DcE20MHi3sZ+Am6I78q0MDkehAEstNl 71bFW8lbjAYtOvhqOFahRymQvMo9qL07zuDoYrELX2j0zpF9uhPF5/X2eLI1+d1z8WEd D4r6pAAlQ6Mn/tRi+6VC1yMs0J0NnDkEC/0PGARWvYeAWVdGEkbg9rucf+b3+NtNZ3pl z6AQ== X-Gm-Message-State: AOAM531kCwwEjBaui7EXZdX48B99nwo/DQtU8YMxfLsLzq7I6DKnOkw+ sXWM3nv81vgSUIL84ahPqpSzNcz9NpERcG7+vn0h6v/O6w+8tqZCUltfHiNmwdi4NvO4es00ecD o9batErjjb/oEuz+C65CeRuI/ X-Received: by 2002:a5d:6a84:: with SMTP id s4mr2472819wru.92.1618479013330; Thu, 15 Apr 2021 02:30:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8b0HIW4SQWI0F4SN4CcB7oMoecgIFl/eiaSw1ft7FPToZP8/z36BeeQADlUaxJ82PzDz6Hg== X-Received: by 2002:a5d:6a84:: with SMTP id s4mr2472795wru.92.1618479013135; Thu, 15 Apr 2021 02:30:13 -0700 (PDT) Received: from [192.168.3.132] (p5b0c6392.dip0.t-ipconnect.de. [91.12.99.146]) by smtp.gmail.com with ESMTPSA id p17sm1659280wmq.47.2021.04.15.02.30.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Apr 2021 02:30:12 -0700 (PDT) Subject: Re: [RFC/RFT PATCH 1/3] memblock: update initialization of reserved pages To: Mike Rapoport Cc: Ard Biesheuvel , Linux ARM , Anshuman Khandual , Catalin Marinas , Marc Zyngier , Mark Rutland , Mike Rapoport , Will Deacon , kvmarm , Linux Kernel Mailing List , Linux Memory Management List References: <20210407172607.8812-1-rppt@kernel.org> <20210407172607.8812-2-rppt@kernel.org> <0c48f98c-7454-1458-15a5-cc5a7e1fb7cd@redhat.com> <3811547a-9057-3c80-3805-2e658488ac99@redhat.com> From: David Hildenbrand Organization: Red Hat Message-ID: Date: Thu, 15 Apr 2021 11:30:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Not sure we really need a new pagetype here, PG_Reserved seems to be quite > enough to say "don't touch this". I generally agree that we could make > PG_Reserved a PageType and then have several sub-types for reserved memory. > This definitely will add clarity but I'm not sure that this justifies > amount of churn and effort required to audit uses of PageResrved(). > >> Then, we could mostly avoid having to query memblock at runtime to figure >> out that this is special memory. This would obviously be an extension to >> this series. Just a thought. > > Stop pushing memblock out of kernel! ;-) Can't stop. Won't stop. :D It's lovely for booting up a kernel until we have other data-structures in place ;) -- Thanks, David / dhildenb