From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta1.migadu.com (out-112.mta1.migadu.com [95.215.58.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AA592F0680 for ; Tue, 18 Aug 2026 03:26:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.112 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787023608; cv=none; b=dWEc9ag1tm6iJBprtJEQwMbNzyN98M01Mi+GGTcp7r1EHCgxs1wuadztpDxk77Xtj2d6O600chsE3mezUQ9R/EPT4PvLOHF7BegWwoFeun6NHOIgc+SthEhEteo8FE5c7JZN4nIseD+93cza6Bw9BcYne8HXZ41Kr/g4JBH9/tY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787023608; c=relaxed/simple; bh=EKEnWk4DvIf134y7xynqDH3no2IBhxVaxS/jANfdf9A=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=dcVwU6u5zwnz05UdQL0Ho/iBcJfh0BEPMojCXuiT++dkNFvp1xHW/8YQsQn4Ay70e8QDkFF8ZVg7mmOGBw2+BL1DwXw/gPCoB+pnxK7aCdvHzcV4hc+Yo00+M6aieRNY0bzExaBEW+W5/uXqWZjwbmWruNUl+9TsVmThJ4PZQQ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=WkLkdP02; arc=none smtp.client-ip=95.215.58.112 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="WkLkdP02" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=EKEnWk4DvIf134y7xynqDH3no2IBhxVaxS/jANfdf9A=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1787023603; v=1; x=1787628403; b=WkLkdP02YxyYRVDre4vNyIUPDyCFr2M/zXKgmX1jZIw1xNGar3y+9QrRJCIcre20jQQY7n3z pQtWo/fmK9nsK5/PFjO9BAZ5G7IctiRWN0YTzPafD3FSdbrRFkYFwjqM4wf1Wv3nQ4KFGNDUaEu m4IES8jYo2NWOCUzZkp3nsgY= X-Envelope-To: linux-kernel@vger.kernel.org Received: from smtpclient.apple (114.251.196.106) by mta12.migadu.com with ESMTPS id b1cba1aab682bf34; Tue, 18 Aug 2026 03:26:33 +0000 X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset=us-ascii Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: [PATCH 1/1] mm/hugetlb: do not dissolve gigantic pages without runtime support From: Muchun Song In-Reply-To: <20260817162039.1511838-1-xialonglong2025@163.com> Date: Tue, 18 Aug 2026 11:26:19 +0800 Cc: osalvador@suse.de, akpm@linux-foundation.org, david@kernel.org, mike.kravetz@oracle.com, mhocko@suse.com, linmiaohe@huawei.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Longlong Xia Content-Transfer-Encoding: quoted-printable Message-Id: References: <20260817162039.1511838-1-xialonglong2025@163.com> To: Longlong Xia X-Mailer: Apple Mail (2.3864.600.51.1.1) > On Aug 18, 2026, at 00:20, Longlong Xia = wrote: >=20 > From: Longlong Xia >=20 > dissolve_free_hugetlb_folio() doesn't check = hstate_is_gigantic_no_runtime(h) > though remove_hugetlb_folio()/update_and_free_hugetlb_folio() silently > bail for such folios, so it frees a still-listed folio and, on vmemmap > restore failure, the add_hugetlb_folio() rollback corrupts the free > list. >=20 > Link: = https://sashiko.dev/#/patchset/20260814083027.1419487-1-xialonglong2025@16= 3.com > Fixes: 6eb4e88a6d27 ("hugetlb: create remove_hugetlb_page() to = separate functionality") > Assisted-by: Codex:gpt-5.6-sol > Signed-off-by: Longlong Xia Reviewed-by: Muchun Song Thanks.