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 114863A545E for ; Fri, 29 May 2026 07:56:51 +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=1780041412; cv=none; b=jixgZf1y+qpe/UO0W0tosLCw01opolymNnR/yNYhd/uYFPNMoDn8r2gFd3J4Y7ZNh3gd7007+T8lIbxqad8/8QUdQyeFFvqt2a6PgDBk2Fi81+Hac6LNbdoxFeMlDTaSQqUdygXOWgMz9PlnpLjcRNVoK57OhrEsxZ3ZbShfmZg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780041412; c=relaxed/simple; bh=JMlYDtrtFrkiXl2KmE0+Ck5vsi1Q5vCD21uebjc+L24=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cH5uHPJvsQRpUNsiODrcYdrMvO+Rjv/D0DZ3UGpRQuM+QuRcIGj1MDOuQMC5/20JIMqU5e2HsgxLVTdZ3RpeI6U82YmAWKS5DE9auSJcCubJOpRDAgMrIBNI5iiFGp+i38nTYxhgulJDKeqo8rkJwqv6rvx4cKU1pvye95oOLZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cJnfCa+/; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cJnfCa+/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4996C1F00893; Fri, 29 May 2026 07:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780041411; bh=3MCAc8LoRfSuI0bxy1ZupvJQ9sT0RuY0x8nQ4Cpvb6E=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=cJnfCa+/PPqcAgkpvqezLMR2js34rRk5O0su+0QMFVJyNCuOqk6uWWS8vcRhlA4CB mQgXzdDCRjKIpqHA5EcBHCiLXNHe8GgvfJVcxMMwx+EC4KpkRH2kjpeog+A77ZaWqz EhrpBpUwo5teWQe8D+rF0DJEKe1uFw3G0kAKGR4KPdZOCbjh43F/W0dp5yeps7IedX JwYjlXPm3gDeQV227wPy87XybOVTt2/hdzmjQ0UbDDqaxRo4dv/5P6O9fw/rMl2dqC cFpkhbBzWMAE5BLbJ3ZimbjY2p45QVM9zCw2juQdunu9khq793nphxcuofJ3VNQBKC bNojwVvfyvZGA== Date: Fri, 29 May 2026 08:56:45 +0100 From: Lorenzo Stoakes To: Andrew Morton Cc: xu.xin16@zte.com.cn, david@kernel.org, chengming.zhou@linux.dev, hughd@google.com, wang.yaxin@zte.com.cn, linux-mm@kvack.org, linux-kernel@vger.kernel.org, corbet@lwn.net Subject: Re: [PATCH v6 0/6] KSM: performance optimizations for rmap_walk_ksm Message-ID: References: <20260522105234715fKI7KSsjC5XpEVMwoV6rI@zte.com.cn> <20260522202824.fccba46554fb6223e63d685c@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: <20260522202824.fccba46554fb6223e63d685c@linux-foundation.org> On Fri, May 22, 2026 at 08:28:24PM -0700, Andrew Morton wrote: > On Fri, 22 May 2026 10:52:34 +0800 (CST) wrote: > > > This series fixes a severe KSM reverse-mapping performance problem > > that can freeze applications for hundreds of milliseconds under > > memory pressure especially when a lot of unrelated VMAs sharing a > > single anon_vma. > > Thanks. I agree that this behaviour is quite obnoxious and getting it > addressed is quite desirable. > > So I'd normally merge this in its present unreviewed state in order to > push things along a bit, but the AI review gives me pause: > > https://sashiko.dev/#/patchset/20260522105234715fKI7KSsjC5XpEVMwoV6rI@zte.com.cn > > Can you please take a look, decide what (if any) changes are needed? I also plan to look through this! Cheers, Lorenzo