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 C2939183CC3 for ; Sat, 23 May 2026 03:28:25 +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=1779506906; cv=none; b=BHO7lXwvCivEhb0CPjR5ttsUitoFTbz+RisoynEXefZAjGDuj3uZEE5dKfnzJWgOIDPtOyLkp0xiyxZFTig3oxtwVga8TsdajH1prPo7vsg3uG8yzF55x9Ta3q/9tjIN/sGgpVRZ8lcakiW8faOnfm06zIfdSTUe0o1FvJkgJTM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779506906; c=relaxed/simple; bh=GpJG2rMaPznmuTPus4EdstldWDa9RCbE6eYH2BiDEHk=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=fUJ/watSPljdQV324BGKWTBryxqrLgc+mZ3qx/pbTt52mHzVCGDbcZjtTQnfc86YxF+6/HxpJZMA/Doi4tKYp/5y72nxcbX8oQkd1R7xjNR0T0IXfVjWnYGV/vNwlRbqUt4YOntIe15eM0U4yCDsVFGVHtOKi93B5aCNl8gjdt8= 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=iV3z2ZoI; 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="iV3z2ZoI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B3D71F000E9; Sat, 23 May 2026 03:28:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1779506905; bh=dl1lj1zM8zSyLIZue9KlkWQXWcUhs2vOOJ80ew7upKk=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=iV3z2ZoIVEq4tNJ4lQNlD/gGiYPEY4tI6b/m4GNUZAW81ExelnWrR+lijgG98b5E7 Kr+KQd4tGHMMpbwn0Gruf2IxQybYJyNiqLgKzH7TeTAiSOhmtE0sgjqC3a4uSskkPg frCdVvBDUxMQ1qQeNT6QPmQOwJqtv+WWyKl0WeS8= Date: Fri, 22 May 2026 20:28:24 -0700 From: Andrew Morton To: Cc: , , , , , , , Subject: Re: [PATCH v6 0/6] KSM: performance optimizations for rmap_walk_ksm Message-Id: <20260522202824.fccba46554fb6223e63d685c@linux-foundation.org> In-Reply-To: <20260522105234715fKI7KSsjC5XpEVMwoV6rI@zte.com.cn> References: <20260522105234715fKI7KSsjC5XpEVMwoV6rI@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, 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?