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 8C52F2F532F for ; Tue, 7 Apr 2026 10:08:26 +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=1775556506; cv=none; b=I8FDBzOdMkHtQlJqNOJIImCAThQtA3LU6jxNvQ3+4HRzgpAkNGYMext0AT/Q4no3mk/G9Cfb4UULIaIdG2zIIO0Uk49a+kFOv0SHd73jx0rHT66VuFHyI1hRYlz8qbUswrykwiPEK8mV92aj6h0THfUD0D06RxqUUCkyeixEaxw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775556506; c=relaxed/simple; bh=LJPJyFP0f2YfeF5uUdY6JnT5FwY6kPTuyJbRkKuNSVw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NnRuSaqEd0NcAS41kfZ302LXQUfBuuvuE2ET4CK4SBHH7Al5T357Fjs6DYcI5OnWmq7Q8eXd3ULgi8ar0CwU0CbmqTC/wV6G3sa0S4BZM8CjFNF507SeWQDOHtqcSkG9ATmeb0PudKmdO0L9oR78+hMXx5+1Y6ehQsjO8E27btw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OjqNwhS0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OjqNwhS0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC99DC116C6; Tue, 7 Apr 2026 10:08:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775556506; bh=LJPJyFP0f2YfeF5uUdY6JnT5FwY6kPTuyJbRkKuNSVw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OjqNwhS053IkVX8CBweRCuteB09IAJKrQK8Ve61pjglln2XH0KA8YzqYFWl2vT056 gsVk5hHrcG22Fl9h2ynZVl2HYMCVmlV2abyBDoUheXBZOU+uxILBN6EXItMSgwJVhh 5ISkLxxSUYayF2Xw4UeAxAl6vj7tHxcoXTsWKK0fNBX8GgJgWlVNL/gjhc+xXZ03bN zIymO/Qxm/ZpqSYTn5VLUZgUmmYc1Yy2Pn8nCa15Uv6hLIZQXTBY4rFOv7Qx2EZ4t3 GJK0LeeIYNzqeTtTiZoAj2IBsSb5fh4tdc62U6PIyO/aiXFzROR5ugvwXvm1v0Gpof /RFVVQtZLajkg== Date: Tue, 7 Apr 2026 11:08:21 +0100 From: "Lorenzo Stoakes (Oracle)" To: Andrew Morton Cc: "David Hildenbrand (arm)" , Pedro Falcato , "Liam R. Howlett" , 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: References: <20260402141628.3367596-1-pfalcato@suse.de> <20260402113328.fd0a6f0e28cf74a651fa2291@linux-foundation.org> <6bl5bzq742c522nmhlshlnf6ho6y6a747l3zh63aagp7kfxymv@s2c6fsuikn4m> <20260406103854.f48c27d7709beb680268d388@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: <20260406103854.f48c27d7709beb680268d388@linux-foundation.org> On Mon, Apr 06, 2026 at 10:38:54AM -0700, Andrew Morton wrote: > 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. I'm fine with this for 7.1 (as long as Pedro buys me a beer ;) > > Thanks, I've firmly added these two to the second-week-of-merge-window > pile. Ack! > > > 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. Also ack, yeah it's fine. Cheers, Lorenzo