All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Rapoport <rppt@kernel.org>
To: "Adrian Barnaś" <abarnas@google.com>
Cc: linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>,
	David Hildenbrand <david@kernel.org>,
	Ard Biesheuvel <ardb@kernel.org>,
	Christoph Lameter <cl@gentwo.org>,
	Yang Shi <yang@os.amperecomputing.com>,
	Brendan Jackman <jackmanb@google.com>,
	Ryan Roberts <ryan.roberts@arm.com>
Subject: Re: [RFC PATCH 6/6] arm64: mm: support PMD page coalescing in the linear map
Date: Tue, 1 Dec 2026 12:02:59 +0200	[thread overview]
Message-ID: <aw6bU8Tt9x9GlTMa@kernel.org> (raw)
In-Reply-To: <awk1N98I7daqXHPC@google.com>

On Fri, Nov 27, 2026 at 07:45:59AM +0000, Adrian Barnaś wrote:
> On Thu, Nov 26, 2026 at 01:42:32PM +0200, Mike Rapoport wrote:
> > > 
> > > I was wondering if it would be acceptable to create a try_collapse operation
> > > in set_memory api that would tell the arch code "I will probably not touch
> > > this anymore for a while, you can collapse if you want". And call it after
> > > predifined delay from last execmem_cache_restore_rox call.
> > 
> > What do you mean by "last execmem_restore_rox"?
> > How execmem would now that an execmem_restore_rox() is the last one?
> > 
> 
> That was a bit of a shorthand on my part. What I actually meant was
> scheduling a delayed work and select a reasonable delay that will
> oportunisticaly trigger after batch module load.

Thanks for the clarification.

Yeah, adding a "collapse" API to set_memory family is something to
consider along with the other options I suggested in my previous reply.
 
> Thanks,
> Adrian.

-- 
Sincerely yours,
Mike.


      reply	other threads:[~2026-12-01 10:03 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-11 13:01 [RFC PATCH 0/6] arm64: mm: Introducing ROX CACHE to ARM64 systems with bbml2 no abort Adrian Barnaś
2026-06-11 13:01 ` [RFC PATCH 1/6] arm64: mm: explicitly declare module and ftrace execmem regions Adrian Barnaś
2026-06-11 13:36   ` Brendan Jackman
2026-06-11 13:01 ` [RFC PATCH 2/6] arm64: mm: allow huge vmap permission adjustments with bbml2_no_abort Adrian Barnaś
2026-06-18 14:21   ` Ryan Roberts
2026-06-24 13:54     ` Adrian Barnaś
2026-06-11 13:01 ` [RFC PATCH 3/6] arm64: mm: fix restoring linear map permissions on execmem cache clean Adrian Barnaś
2026-06-11 13:54   ` Brendan Jackman
2026-06-12  7:17     ` Mike Rapoport
2026-06-17 15:18       ` Adrian Barnaś
2026-06-17 18:40         ` Mike Rapoport
2026-06-24 13:57           ` Adrian Barnaś
2026-07-06 11:35         ` Mike Rapoport
2026-07-06 12:47           ` Adrian Barnaś
2026-06-18 15:05   ` Ryan Roberts
2026-06-19  8:33     ` Ryan Roberts
2026-06-24 13:52       ` Adrian Barnaś
2026-06-11 13:01 ` [RFC PATCH 4/6] arm64: mm: add helper to fill execmem with trapping instructions Adrian Barnaś
2026-06-19 10:54   ` Ryan Roberts
2026-06-19 10:58     ` Mike Rapoport
2026-06-11 13:01 ` [RFC PATCH 5/6] arm64: execmem: enable EXECMEM_ROX_CACHE on supported CPUs Adrian Barnaś
2026-06-19 12:09   ` Ryan Roberts
2026-06-11 13:01 ` [RFC PATCH 6/6] arm64: mm: support PMD page coalescing in the linear map Adrian Barnaś
2026-06-19 13:40   ` Ryan Roberts
2026-06-24 14:32     ` Adrian Barnaś
2026-07-06 12:41     ` Adrian Barnaś
2026-07-06 14:33       ` Mike Rapoport
2026-11-23  9:47         ` Adrian Barnaś
2026-11-26 11:42           ` Mike Rapoport
2026-11-27  7:45             ` Adrian Barnaś
2026-12-01 10:02               ` Mike Rapoport [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw6bU8Tt9x9GlTMa@kernel.org \
    --to=rppt@kernel.org \
    --cc=abarnas@google.com \
    --cc=ardb@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=cl@gentwo.org \
    --cc=david@kernel.org \
    --cc=jackmanb@google.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mm@kvack.org \
    --cc=ryan.roberts@arm.com \
    --cc=will@kernel.org \
    --cc=yang@os.amperecomputing.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.