From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63B2014F125 for ; Thu, 16 Oct 2025 06:07:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760594834; cv=none; b=NJBXDAK5uPSMEw/uF/qqYjNhAIG/+1aMZ2xABNlTdHC+M1dTybpcstLghIAqSvFSwbl+vFOGeC8u2rxHj3bO1RXS1kjdQnPuCeaep5lCJfu/wv1B72NWbW2Z1nMp3gx5dlVcK7K0vH5siD6+i+utKOikQU7EGHUalBNQVK+JXac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760594834; c=relaxed/simple; bh=miyDSRpN9AKlKir+gXKesJMd/IlnLzbpzbWk9HDqZLs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Cyctn/DTXIP+1DodbJBRYHsGNwKVS/SWRvI00guijiXZgYlwetIeQNLSJ3k/FoGYS7yZ0PyqValBcWedRJ5ZiYU7TwMDq204Xs4+5fWT+ihl4j+peHw2WypJ7tZH1+alD9OU8GMKpswV+dDXoSasx/LSEGKYsvygtSU1Osx0E5w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BEC7B1688; Wed, 15 Oct 2025 23:07:04 -0700 (PDT) Received: from [10.163.68.150] (unknown [10.163.68.150]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 618943F738; Wed, 15 Oct 2025 23:07:08 -0700 (PDT) Message-ID: Date: Thu, 16 Oct 2025 11:37:04 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/2] arm64/mm: Rename try_pgd_pgtable_alloc_init_mm To: Linu Cherian , Catalin Marinas , Will Deacon , Andrew Morton , Ryan Roberts , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anshuman Khandual , Kevin Brodsky , Zhenhua Huang , Lorenzo Stoakes , Yang Shi References: <20251015112758.2701604-1-linu.cherian@arm.com> <20251015112758.2701604-3-linu.cherian@arm.com> Content-Language: en-US From: Dev Jain In-Reply-To: <20251015112758.2701604-3-linu.cherian@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 15/10/25 4:57 pm, Linu Cherian wrote: > With BUG_ON in pgd_pgtable_alloc_init_mm moved up to higher layer, wouldn't hurt to also add "and converted to a kernel panic". I got confused by this statement and was trying to find the BUG_ON which got moved upwards. > gfp flags is the only difference between try_pgd_pgtable_alloc_init_mm > and pgd_pgtable_alloc_init_mm. Hence rename the "try" version > to pgd_pgtable_alloc_init_mm_gfp. > > Reviewed-by: Ryan Roberts > Signed-off-by: Linu Cherian > --- Reviewed-by: Dev Jain