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 88EC0283FC8 for ; Fri, 6 Feb 2026 15:39:43 +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=1770392383; cv=none; b=aakpAODywi427FcLXbnb8b3LpmwNo/nZQc5FUXKtdcsxi+biu/TKFGd4QaTdvNvDJqapL5Gfu+0pPi2aHWiTpchkjiDetytD9co65MIquv9SLLjgufp0Z/ET+D2NP0kfEo8Bh+uGVHd5S9M1Rui22k5Gh8OfTbjoQ2kWe6qI+oE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770392383; c=relaxed/simple; bh=bd90j/sd92aTHdoa8ZXxYROkAssOxPPzV9TCcpN7/4A=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=DIVczgGsfHKNKVH342uUeV9wZFQ68N1fRYECCLLggTfrXNEsRi8ctjoUexaTDaYq2gTqbsofRjqAikrDKtjv4tND3wnFSf6TKTbWsrhy6R9Lr+82BCRLKhwbAaqI4TLUWWOTjxmKFnUPlGzrhP4z4zpPdhAjeo0jrqgw8GxQ3eI= 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=jMtjddz9; 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="jMtjddz9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA066C116C6; Fri, 6 Feb 2026 15:39:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1770392383; bh=bd90j/sd92aTHdoa8ZXxYROkAssOxPPzV9TCcpN7/4A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jMtjddz91a+R+jFPilZwkdFBMlS6c4CBY/QXiK14FqTKlhaC6lIrzAb9esL+/V7mN CPatgbnyQ8VHIxZon3FEua0y7JDCG8fb8WfJSAnVBEbcadOS1XwZJXtyoE9W8GWdUI YcNcVtGqnsPXhMzOF7Tq7aQWX8eB2FjLcMIB0R3M= Date: Fri, 6 Feb 2026 07:39:42 -0800 From: Andrew Morton To: Cc: , , , , , , Subject: Re: ksm: initialize rmap values directly and make them const Message-Id: <20260206073942.e37ce92b81f0a0c51a1f5b82@linux-foundation.org> In-Reply-To: <20260206163850402hEblYPDgLSG4M7CT1ju2G@zte.com.cn> References: <20260206163850402hEblYPDgLSG4M7CT1ju2G@zte.com.cn> 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 Fri, 6 Feb 2026 16:38:50 +0800 (CST) wrote: > > > > > > Fixes: 06fbd555dea8 ("ksm: optimize rmap_walk_ksm by passing a suitable addressrange") > > > Signed-off-by: xu xin > > > > The patch does not seem to be upstream / in mm-stable yet. > > > > Can you resend the original patch with these changes included and the > > reproducer referenced in the updated patch description? > > Sure, I thought the original patch was merged in linux-next. I've recently moved the original series into mm.git's mm-new branch, which isn't included in linux-next. Because it appeared that the v2 series wouldn't be available in time for the next merge window. It is a wonderful performance improvement, but I think it's best that we revisit the series for the next -rc cycle. So can you please integrate this new change into "ksm: optimize rmap_walk_ksm by passing a suitable addressrange", rework the changelogs to reflect the discussion thus far and resend the "KSM: Optimizations for rmap_walk_ksm" series?