[RFC PATCH 6/6] arm64: mm: support PMD page coalescing in the linear map

Mike Rapoport rppt at kernel.org
Tue Dec 1 02:02:59 PST 2026


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.



More information about the linux-arm-kernel mailing list