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 E03552D97BA for ; Mon, 30 Mar 2026 20:06:36 +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=1774901196; cv=none; b=XDMcOdrYiJpGj5Z8vp06dkeLVEFmSBV1cTE8cYWR+yShz8OnNJPecB96wgNfvH+98Rbt/b9cNiEeJNTYKjZBl851PWi0VXE9Ox1v4mBg8/GXehDMG7qzO2hZRybFlBRvX54btQWaTq+bp+uF2vqd7wPWMuPoL/yT/Ry7/RNZ/38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774901196; c=relaxed/simple; bh=sEiQXZDCaaFYtBvA8B0iuBVUBJqm6Up/A5JvW9UflW4=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=EUXdFECySUoHWEdqwdRQxG4c9PaZlzBYnPH/lpHHzyGXFjwTTAkAQpM9Ol8X56vVbYu40oQ/jyCbJQ1Agd57L49lKvzXMy6VIinhXsjJhRKVqFElKVIK3q/K0JCnhUYknR8kzwELN9bJcLox0OtIsHxLVt+2O/b6BDBJYtpwDiY= 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=wCKo4Is5; 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="wCKo4Is5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10D4DC4CEF7; Mon, 30 Mar 2026 20:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1774901196; bh=sEiQXZDCaaFYtBvA8B0iuBVUBJqm6Up/A5JvW9UflW4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=wCKo4Is5few/I9zid1F4bRtm/hrY88NcDsDx80Fez/TpWyF4vKC+KrjO/D0gNb5tY Plf1l2SaHPhG1cZAZLbWGBF7jFQT0pTicNavKY3UlZx5ZDFSlRfuF+TimxitaHW8+Q +RzFJh06KeRCWZUu7wdorPMc2aNMfgbAL+brZC6g= Date: Mon, 30 Mar 2026 13:06:35 -0700 From: Andrew Morton To: Luke Yang Cc: Pedro Falcato , "Liam R. Howlett" , Lorenzo Stoakes , Vlastimil Babka , Jann Horn , David Hildenbrand , Dev Jain , jhladky@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Nico Pache Subject: Re: [PATCH v2 0/2] mm/mprotect: micro-optimization work Message-Id: <20260330130635.1d8bf3f1f9dfcafc0317f5e7@linux-foundation.org> In-Reply-To: References: <20260324154342.156640-1-pfalcato@suse.de> 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 Mon, 30 Mar 2026 15:55:51 -0400 Luke Yang wrote: > Thanks for working on this. I just wanted to share that we've created a > test kernel with your patches and tested on the following CPUs: > > --- aarch64 --- > Ampere Altra > Ampere Altra Max > > --- x86_64 --- > AMD EPYC 7713 > AMD EPYC 7351 > AMD EPYC 7542 > AMD EPYC 7573X > AMD EPYC 7702 > AMD EPYC 9754 > Intel Xeon Gold 6126 > Into Xeon Gold 6330 > Intel Xeon Gold 6530 > Intel Xeon Platinum 8351N > Intel Core i7-6820HQ > > --- ppc64le --- > IBM Power 10 > > On average, we see improvements ranging from a minimum of 5% to a > maximum of 55%, with most improvements showing around a 25% speed up in > the libmicro/mprot_tw4m micro benchmark. Thanks, that's nice. I've added some of the above into the changelog and I took the liberty of adding your Tested-by: to both patches. fyi, regarding [2/2]: it's unclear to me whether the discussion with David will result in any alterations. If there's something I need to it always helps to lmk ;)