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 3539E38AC7D for ; Mon, 6 Apr 2026 17:38:56 +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=1775497136; cv=none; b=M82DnVbdpKKWyc/rQmbxTgLgGtbiYxnqaMe7W8KELQ0vkvJte0Gf/JstEt6v51mmV9eSBYpMB47AAN6xxyv6T/at1xtHSgJaS8PCswnpIzUM/XonsDzmn4tEBNhJ9qA+iMIIC/UA5rS7Wnep/olxitypb43Zf4WheOzA77h1OTM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775497136; c=relaxed/simple; bh=AEZp5fDRQAY9KyEO2S76uYsWeMZLHYwUHfXcyppdE+U=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=b1+tIxRvS/HYM2yph+rKmZqHrTdYkRvaDj/O5Hzt4PyWTVYvKJRIR+1sbqOoSjIM/0WRtNUaVNlft9CZzB8qL24OvFwlATtSuSVgEYDOxyhW2BWLKmJ5jAvfsesopMue9fk4I1ItmbZpOyj4y3IMLE3ad/kiwUv+asc157S4Apk= 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=SpvmHrXa; 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="SpvmHrXa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 941EBC19421; Mon, 6 Apr 2026 17:38:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1775497135; bh=AEZp5fDRQAY9KyEO2S76uYsWeMZLHYwUHfXcyppdE+U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SpvmHrXaWUSIteK9NQmMmAVmsS7wA+YILEzBBFJ66TGzP0474F624CRO7b2RR/LoX ojkRLNVX1047HXicU8yldtMLhQfo/5PcI1WkvKx4llS9UO9YEU/rAu9EqQMXWLi0FI 07dHxiYEIxBDPApS1z11jh+x0ZZudoTIMn/l4/N8= Date: Mon, 6 Apr 2026 10:38:54 -0700 From: Andrew Morton To: "David Hildenbrand (arm)" Cc: Pedro Falcato , "Liam R. Howlett" , Lorenzo Stoakes , Vlastimil Babka , Jann Horn , Dev Jain , Luke Yang , jhladky@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/2] mm/mprotect: micro-optimization work Message-Id: <20260406103854.f48c27d7709beb680268d388@linux-foundation.org> In-Reply-To: References: <20260402141628.3367596-1-pfalcato@suse.de> <20260402113328.fd0a6f0e28cf74a651fa2291@linux-foundation.org> <6bl5bzq742c522nmhlshlnf6ho6y6a747l3zh63aagp7kfxymv@s2c6fsuikn4m> 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, 6 Apr 2026 11:09:01 +0200 "David Hildenbrand (arm)" wrote: > On 4/6/26 10:29, Pedro Falcato wrote: > > On Thu, Apr 02, 2026 at 11:33:28AM -0700, Andrew Morton wrote: > >> On Thu, 2 Apr 2026 15:16:26 +0100 Pedro Falcato wrote: > >> > >>> Micro-optimize the change_protection functionality and the > >>> change_pte_range() routine. This set of functions works in an incredibly > >>> tight loop, and even small inefficiencies are incredibly evident when spun > >>> hundreds, thousands or hundreds of thousands of times. > >> > >> Thanks, I updated mm.git's mm-unstable branch to this version. > >> > >> The update is rather large. If people think it best to spill this work > >> into next -rc1 then please advise. > > > > I think it's a fairly safe change for 7.1, but I'm biased :) Perhaps others think > > otherwise. Thanks, I've firmly added these two to the second-week-of-merge-window pile. > It's mostly code movement, so it should be fine (unless we messed up > passed parameters somehow :) ) This (or an earlier version thereof) have been in mm.git since March 24.