Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp131772lqo; Wed, 27 Mar 2024 08:44:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVp7GxwZU7MaI1zimL3rAH3dnS8EfNVC2IPoICRbOhJ0ESsapBrc/TFDIoYkMfo16y1nyUNU/FfDjpVeztSw2KtqdxWGeMrQTa3EPWVcg== X-Google-Smtp-Source: AGHT+IFd102jHGUkfkvLNgxCDOTAUIuDAUsMOgdoGXKIUQx9rQSOu8GFSyw3ScLuoYsKH1uwKeVV X-Received: by 2002:a19:5f14:0:b0:513:27a1:24cb with SMTP id t20-20020a195f14000000b0051327a124cbmr2971015lfb.51.1711554296528; Wed, 27 Mar 2024 08:44:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711554296; cv=pass; d=google.com; s=arc-20160816; b=dTY2aZH78KZLquCEq/I40zVZevHlcJC4hw5N+niczZUaG3wovwN+NPscBiK5S4KMDv 1LX7pbPm7oT+WDOuoRZ3W7/f4z/JWMMLmZ+Thmb5+dNOudU+2nm4uT/KCydGvSum+vCz Np7Yk3HrLFLitOlGWnAJZNT5ysaQNdTWSxfTwn5Hr/LtAQ0uHWzc8y6+SgDYXWNl9r90 0XvdwE5dL8NfOwYw7lGz26usbOBD+BEWqWw8prb8DD62yeC3m2tWAMXXSyObkItv/VjB 5ziV5Ju3ShVgmLFBK7dAZYSOp9IPo34lGPjVH7K1PpwTUnK4wHMp+iZvEakauwWtHghN 3dsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wg5Osq9sjpHTtQTElAQaPeFuyh5bCwS9dp5BuaZRCVk=; fh=KGm8PY/IetsVJWKK6UNUWrv2dd7n9qXKtm51kzc4YLY=; b=N1NBAXfhFElZiiQ013T7v57RJPY3bmsyVAyfI1HJtHZBuOudM5E6wFutCoPk8/FQ1L unzWDbl/RiIPY/2JYiiNDNtn2JuDYAPJywRGphRItO51CqDUnGAfZXAN120jF0UEhnDs bO6DHx//Lduig7YG/eJMTX/7Qwdv9dAOOhaQh/vix8RncBWKxltV4RcgPAIU+eL0au+V zkxD2gBx+IkBdVxVo3NxJW1Nsp3k+9TDR3sgoNPngzttIfVSPgc5HJD2i9R8LTtHGCf6 4eXy6MY4CgkdLrJgF57sQ27twJb2AO46VFiz46qC6hH6rqa3h+Yn3O9hGWmnl0K76Ox7 zqaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kwj619xn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121551-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121551-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ds11-20020a0564021ccb00b0056c1cc26f71si2399835edb.280.2024.03.27.08.44.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 08:44:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121551-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kwj619xn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121551-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121551-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 40DEA1F32C12 for ; Wed, 27 Mar 2024 15:44:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C52B1CAAF; Wed, 27 Mar 2024 15:41:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kwj619xn" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3EBC0535A4 for ; Wed, 27 Mar 2024 15:41:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711554106; cv=none; b=tZ84riJg6yMOw/FY5G3YwBQMOnxHrWH0dPvTJXp/uUu7/LK9Kye2TzppMYZdHPjymiaSwDvsPTXbIc6HVd1KVZkjCLjrY6MgSJH3GBXzz9DwJYF2qKp91LF9pC9Sp0RGhhsvSJjesTNLfikW0evx6Suwx7N55N75jgoRjHT+JOg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711554106; c=relaxed/simple; bh=LSkdq/t94YMFNlamRqeWvTTfCAU7fVztXM9mzQlr1gQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NcSKN3lPksYIvF1V20GjdVimW39xQexFiNF415ftWQWCTEMTQAmKQeFDa8g93p5Kr0ugHy4C8cEkbrnD7ZcmfLsKfXAtak64mU1WhtFDu21r5L6Ced1DGD8AbY8sfn2mzp1ysJO8AE8iKQOCHsDSzhXiOu6ee24vIMQOo2AEKVY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kwj619xn; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A8D6C433C7; Wed, 27 Mar 2024 15:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711554105; bh=LSkdq/t94YMFNlamRqeWvTTfCAU7fVztXM9mzQlr1gQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kwj619xnpdyJcHARuFdyABjHRFcqAdSXTht6r7soAxbPD/i8JwH+Wbuob+V12R3n2 rjT194985hg2t/tELpPWn6hp5xbV83OJPRUcfIIyw1XiOKlN+pZKuEoNANmwzA8bXf xibCFVjADjaBzJLD5hoFzVnQTvcKdyo0G82FBxUUQdfhnn4CUkqUgeMYvOCYAi5VRT ICQPFF6NQuQf4/VDzP7+eI7NawGxe8N8bucpZBSmyyIJQw1RHRtdi2tOpl6QuBm/+L aNjfOvRL6V2syLJt/UUb2Ue3dsT7fVlFSSHfAu+IrlAx8FS1BvBEkD0naTCJXB4YJQ /1gP29XdpE5vw== Date: Wed, 27 Mar 2024 17:41:03 +0200 From: Mike Rapoport To: Baoquan He Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, akpm@linux-foundation.org Subject: Re: [PATCH v2 6/6] mm/mm_init.c: remove arch_reserved_kernel_pages() Message-ID: References: <20240325145646.1044760-1-bhe@redhat.com> <20240325145646.1044760-7-bhe@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240325145646.1044760-7-bhe@redhat.com> On Mon, Mar 25, 2024 at 10:56:46PM +0800, Baoquan He wrote: > Since the current calculation of calc_nr_kernel_pages() has taken into > consideration of kernel reserved memory, no need to have > arch_reserved_kernel_pages() any more. > > Signed-off-by: Baoquan He Reviewed-by: Mike Rapoport (IBM) > --- > arch/powerpc/include/asm/mmu.h | 4 ---- > arch/powerpc/kernel/fadump.c | 5 ----- > include/linux/mm.h | 3 --- > mm/mm_init.c | 12 ------------ > 4 files changed, 24 deletions(-) >