From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) (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 8EFE33242D9 for ; Thu, 19 Mar 2026 07:12:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.111 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773904350; cv=none; b=l9ombtTYSiyZyGfjz711sZpypob4ejcwvNMWOLZYVEkw8gGsUZ+p/rM5UpOaNlvrBHO31kxqmiQV1nNtC4Gltn5SaxIECC2v6e+bWIvuEYMQ5AIPEO+psa+aCKFnlUELhgGmC/4bACQozQGqasPiHmyY/BJ73YokxrXrEMReQOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773904350; c=relaxed/simple; bh=QcIPdSwR21SXx5/P5tPs9bdfFQEneKk0vSzH3YQlmFg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DQq3VHiTVDKZB+BrUzXxhL3+GwTtPFtaeNCfxtE00YRLOnZw1FhUfSOEbr7ao3xrR/Wi2FjZmaXY2fBaCKVxVqIuK+WKX3yrN9IT/CdVWFvNvm40NbYXs5g5JZKEEScz0+daTw4BjhnwYx4g91zTHiMpsyECuwXlCP5nhBrHfX0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=tih4gHut; arc=none smtp.client-ip=115.124.30.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="tih4gHut" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1773904340; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=gc1cC4mzj8DKUjeHQ7B77RqbJqPY4RP3mNQb6Es+S9I=; b=tih4gHutdOGxd8xRSK89Layol0G08M1JrD1RWPvtf/nQkBgOCoVujsIq9oLeXJNtAkOKQ1732x68LEMy8HEBCW78QztvOIz8fqCzZgoNx0q4E8/FmFqOJLkSI6T/0pB4+UT2/kDsqNxftZXg+VjcTW1hzNq4x9oCbssGZ6SOpNg= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033045133197;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=16;SR=0;TI=SMTPD_---0X.HWEU1_1773904337; Received: from 30.74.144.123(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0X.HWEU1_1773904337 cluster:ay36) by smtp.aliyun-inc.com; Thu, 19 Mar 2026 15:12:18 +0800 Message-ID: <07368afd-05c3-48f4-89a0-c1349784f62b@linux.alibaba.com> Date: Thu, 19 Mar 2026 15:12:17 +0800 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 6/8] mm/huge_memory: remove unnecessary VM_BUG_ON_PAGE() To: "Lorenzo Stoakes (Oracle)" , Andrew Morton Cc: David Hildenbrand , Zi Yan , "Liam R . Howlett" , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Lance Yang , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <56df2cf900132ae12e8b71ed95519b5b476e1618.1773865827.git.ljs@kernel.org> From: Baolin Wang In-Reply-To: <56df2cf900132ae12e8b71ed95519b5b476e1618.1773865827.git.ljs@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/19/26 4:39 AM, Lorenzo Stoakes (Oracle) wrote: > This has been around since the beginnings of the THP implementation. I > think we can safely assume that, if we have a THP folio, it will have a > head page. > > Signed-off-by: Lorenzo Stoakes (Oracle) > --- Yes, it is under the PTL, so the PMD entry should be stable. I also can't think of any case where it can be not a head page. Reviewed-by: Baolin Wang