Re: uvm_swap compression patch

Reinoud Zandijk <[email protected]> Thu, 2 Jul 2026 12:21:56 +0200
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
Hi,

On Thu, Jul 02, 2026 at 04:54:00PM +0900, Takashi YAMAMOTO wrote:
> On Thu, Jul 2, 2026 at 4:04 AM Reinoud Zandijk <[email protected]> wrote:
> > as part of a compressed ram experiment I'd like to try, I've first cleaned up
> > the current uvm swap support for I noticed that the support for encrypted swap
> > became distributed and not logical anymore. In the attached patch I've
> > contracted the encrypted support into the /dev/drum device and removed it from
> > the specific swap support and callbacks.
> 
> with the cost of an extra allocation for the common case?
> (just a question)

That should be patched in v2.

With regards,
Reinoud