From mboxrd@z Thu Jan 1 00:00:00 1970 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 5E417218E91 for ; Wed, 25 Mar 2026 20:03: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=1774468991; cv=none; b=DN0nbdu5DNcHK+LsFHH2ALdgpRFGVHfd9s4gZx8p+KMLutabUdx5cetsYA8C/4OCpcp5trPQtUzc+heBshZa9We1x0yLOyePBjGRXniTDdtPIRqIGqThx9A6+wb34a/5xdPhwOmYI9m/aQhzVWWamPSur1Uiu47zVanS7krcD+0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774468991; c=relaxed/simple; bh=En8tZyi9hnwQ7IKZABQuYWgOMBkW+LR3M5zBnaMUqIE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QH/kOpJ7Fa6zQWkY0xtDdQ0w1Agmi16HAxDcrGyrgL9bwY1zhO9BmZepZ8nqz9yo5lb63TwveThXZQNNrDg9+iMeB99mJkMrUUQNej8Ry4jeltOQX4o4MUpe9iyO4y+1xZOoNXMjftqUBNQDy06C4+hu4Rbl1zdLTq+CYooMQ18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DGdpCU8r; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DGdpCU8r" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05B5CC4CEF7; Wed, 25 Mar 2026 20:03:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774468990; bh=En8tZyi9hnwQ7IKZABQuYWgOMBkW+LR3M5zBnaMUqIE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DGdpCU8re+1YVySq7t+jItUGOTCRKl0Y4+a3CQ+S7yMpBChErozdK76igIF/w4Ibi STQyayilvFju7lyno+/dNh7UB32OX2VrfDpz4F8bLiNXb5fNRDXxeNQCMn5uaM4bx9 myaRzwQ2ZDcOcTwLgontscELbVl9kcqZTnH5xYofv8kpR67ET1GCQCpQezUL/guriV iUPg4bEYY0rD/slyk7rIX8LrXnc9rgWPtzR5VbMMnaUVgFVilStX0VmiUbsaQeoDAZ Dnz9Ig9ugxHuzqxQhwX35T1deRSPvHHjX3FlTmbTWduZd1H8nCJ/IVrWh+l5Q5lmNj 6aGJaCF8Ct6HA== Date: Wed, 25 Mar 2026 20:03:05 +0000 From: "Lorenzo Stoakes (Oracle)" To: Andrew Morton Cc: "David Hildenbrand (Arm)" , Vernon Yang , Wei Yang , lorenzo.stoakes@oracle.com, ziy@nvidia.com, dev.jain@arm.com, baohua@kernel.org, lance.yang@linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Vernon Yang Subject: Re: [PATCH mm-new v8 2/4] mm: khugepaged: refine scan progress number Message-ID: <9930979b-7bab-430b-ad29-fb35f36712b6@lucifer.local> References: <22dccc17-787c-448e-a571-23c7a9afeaff@lucifer.local> <20260325080930.a205fca9e7e61c4a793f5228@linux-foundation.org> <3cf94628-3c6a-43ed-9fc1-29bd5a911497@kernel.org> <8d2e809c-e4c8-4d35-a2ae-62777b6dfbcc@lucifer.local> <0437ad42-612e-461f-906d-6757eb19a8de@kernel.org> <20260325091735.bf440358cf83c5d0369e0674@linux-foundation.org> <06c83e1b-d7ee-48d5-a5c4-faad39db2f53@lucifer.local> <20260325113650.fc6997e07a0a4ad0e46278d5@linux-foundation.org> <20260325121549.2b887a8a8c154d5bf8529ea9@linux-foundation.org> 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-Disposition: inline In-Reply-To: <20260325121549.2b887a8a8c154d5bf8529ea9@linux-foundation.org> On Wed, Mar 25, 2026 at 12:15:49PM -0700, Andrew Morton wrote: > On Wed, 25 Mar 2026 18:53:40 +0000 "Lorenzo Stoakes (Oracle)" wrote: > > > > [akpm@linux-foundation.org: fix spello, add comment] > > > Link: https://lkml.kernel.org/r/20260220151500.13585-1-rioo.tsukatsukii@gmail.com > > > Signed-off-by: Rio > > > Cc: Joel Granados > > > Cc: Petr Mladek > > > Cc: Wang Jinchao > > > Signed-off-by: Andrew Morton > > > > > > But these things are usually quite minor and the precipitating > > > discussion can be found by reading the main Link:. > > > > > > > Maybe just directly squash the commits? > > > > > > Not understanding this proposal? > > > > I mean instead of having a separate commit for the fix, put that fix into the > > patch before it and denote it with a footer as you put above. > > > > I guess that translates to what you do when you rebase and fold the fixes into > > commits as you do now anyway. > > > > I don't see any reason not to do that right away, as really it's good to see the > > combined change in one go for all practical purposes (if I resend, I'll be > > combining work, if I can grab it from the tree and avoid a git rebase -i all the > > better). > > OK. So what have we concluded here? > > Is it: if I get a -fix, I add that in the usual way, then temporarily > fold it into the base patch and mail the result out for fyi. Then > after I permanently fold the fix into the base and add the > footer? > > If so, what's ? To me it feels like that should be 0, just squash it in right away, since the trees are being rebased constantly right? And that means the tree contains exactly what it would if the series were re-sent. David, what do you think? Thanks, Lorenzo