From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 9625538D40F for ; Mon, 25 May 2026 20:15:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779740103; cv=none; b=fM9wKTGWPbthknro69q0zBUWROn+Sshb54qOEIkQ2JdlNTMTasYaq5lSidJS5oS3pJ08UqJogrwCZ+ByUObCBKNDsyVe9iMRLGKFtPqaM7i9yZ8NEyq7it+ImDM3RQ/JqagPFSIYyZN+WjdiFRZ3VTk4NW3BNRhYh9xMc3UvN5I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779740103; c=relaxed/simple; bh=rpOI6ZWa3hYdhumee5cwgKjyQV9uMw5t3QbG7EpvrNw=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=FBEwC6+arAJ4AIgFcAB1xObjF76VPzC8RKAERM7pXNQkN2wYW+28C8O+BJkPQ2CkiOPlWlqa7ebKX0YEzz78ml1swa6pvdTRCKOeUDB0XnB0TD52H/ZEj4bJi2oHq5rXtOH6u3LBL+qV6ssh9LyyvqTs5h4aNfATGF4+xqEOzSc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=063cSBN6; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="063cSBN6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F378B1F000E9; Mon, 25 May 2026 20:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1779740102; bh=X56+OZYAIjLFWrSXIXemEupQvyrgRSjAVtfUd6Nv/E0=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=063cSBN66ZhVXSR8jU9pRhWs7scC5KkfE1+saG+Rp1U0VHMt30U30PfUxJWrRolbu qV4iGw9b4Qpwgu/j4MRqOl6IuU7LZZbPQwhNOHSVEDHOGwHqH9Ec0TqQoGKbrO1z/f qjiMhCeMPO5afMoH7OIQCdqUNIARsOGyWsAlqOIg= Date: Mon, 25 May 2026 13:15:01 -0700 From: Andrew Morton To: "zhaoyang.huang" Cc: Vlastimil Babka , Johannes Weiner , Michal Hocko , Suren Baghdasaryan , Brendan Jackman , Zi Yan , , , Zhaoyang Huang , Subject: Re: [PATCH] mm: free HIGHATOMIC and CMA frozen pages via buddy Message-Id: <20260525131501.f232fd3cfb67442d2c284631@linux-foundation.org> In-Reply-To: <20260525071033.1104929-1-zhaoyang.huang@unisoc.com> References: <20260525071033.1104929-1-zhaoyang.huang@unisoc.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Mon, 25 May 2026 15:10:33 +0800 "zhaoyang.huang" wrote: > Pages in pageblocks above MIGRATE_PCPTYPES were remapped to > MIGRATE_MOVABLE on the per-CPU lists, so order-9 GFP_ATOMIC > allocations could consume CMA physical blocks which may lead to > cma_alloc failed. > This commit would like to free them through free_one_page() simply. Can you please describe the userspace-visible effects of this change? Before and after. And include this description within the patch changelog. AI review claims to have found a couple of issues, one of which sounds serious: https://sashiko.dev/#/patchset/20260525071033.1104929-1-zhaoyang.huang@unisoc.com Thanks.