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 622172D46D6 for ; Thu, 5 Feb 2026 03:13:11 +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=1770261191; cv=none; b=mB/rfNrhxTFCCARP6RtFH/M8iQ3pYA7Nxz0/zBSahMibu1+ZLyZkCeFBGP6+dHB2IRZqy5B1y/P2B+l9lThYSfbhCpDa7afSQH6rHYUy54Oajwkit0vqvxsVmS7tj+SNn+I2MInR1IoH9LHAAR2EntupQ1ktreKGnMX0fixGiHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770261191; c=relaxed/simple; bh=HDN75FDUo5Qy2KldHx4LIkZkOb9M+7wUHDms5Y7mFs0=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=e/L5lEBBTRdV/NYb8eumzNc0d0bG6BhiyOuTNFyB5OJOMry+lYzvT5KBTBTxrxAVIzucdsZyU/JsaEtIWgdQJXYVFwllo3pebsvoQWf0Ybu7fFrpTXyIVwz3CYtfv2zgJYy047KFm3B7j5ZbIJkwFmMQbBjmkbfENFa0fnhluO4= 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=n7SeFapV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="n7SeFapV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C94EC4CEF7; Thu, 5 Feb 2026 03:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1770261190; bh=HDN75FDUo5Qy2KldHx4LIkZkOb9M+7wUHDms5Y7mFs0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=n7SeFapVpA0FVa0rBcWMRcqmtGXhKF4SUKqa6WYkxg3xN0Hzhk+bD4Sky5jqyzz8i XrqwGPUGg1xCPw7eLbUS5wdpQeBTknZ8sef8am4JZu5wQad/bJvSThYaWvVQWHBHZn onA9ZqZCPSsmKqrx5TWnRVy7wi9D6Ji2AbfoUcYM= Date: Wed, 4 Feb 2026 19:13:09 -0800 From: Andrew Morton To: Wei Yang Cc: david@kernel.org, lorenzo.stoakes@oracle.com, riel@surriel.com, Liam.Howlett@oracle.com, vbabka@suse.cz, harry.yoo@oracle.com, jannh@google.com, ziy@nvidia.com, gavinguo@igalia.com, baolin.wang@linux.alibaba.com, linux-mm@kvack.org, Lance Yang , stable@vger.kernel.org Subject: Re: [Patch v2] mm/huge_memory: fix early failure try_to_migrate() when split huge pmd for shared thp Message-Id: <20260204191309.5c61a11ddfbb71f6a1672c12@linux-foundation.org> In-Reply-To: <20260205030421.zz72iie5bwvgxlsj@master> References: <20260204004219.6524-1-richard.weiyang@gmail.com> <20260204114217.6da3e05ee5fbfac3a5f4c16a@linux-foundation.org> <20260205030421.zz72iie5bwvgxlsj@master> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: stable@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 Thu, 5 Feb 2026 03:04:21 +0000 Wei Yang wrote: > >> Cc: Gavin Guo > >> Cc: "David Hildenbrand (Red Hat)" > >> Cc: Zi Yan > >> Cc: Baolin Wang > >> Cc: Lance Yang > >> Cc: > > > >Why cc:stable? In other words, what is the userspace-visible runtime > >effect of this bug? > > On memory pressure or failure, we would try to split folio to reclaim or limit > bad memory. If failed to split it, we will leave some memory unusable. > > I would put this in change log, if it looks good to you. > > As David mentioned some change in comment and change log, do you prefer a v3? v3 would be good please. If the patch(set) was large and had been under test for significant time then I think a delta is preferable. But that isn't the case here.