Re: uvm_swap compression patch

Takashi YAMAMOTO <[email protected]> Thu, 2 Jul 2026 22:50:07 +0900
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <CAKDaYtDX0-TK2JB+c7-xm4fdg+LyvRE=Xh4gbWk7En8pGoyGww@mail.gmail.com>
On Thu, Jul 2, 2026 at 7:22=E2=80=AFPM Reinoud Zandijk <[email protected]>=
 wrote:
>
> Hi,
>
> On Thu, Jul 02, 2026 at 04:54:00PM +0900, Takashi YAMAMOTO wrote:
> > On Thu, Jul 2, 2026 at 4:04=E2=80=AFAM Reinoud Zandijk <reinoud@netbsd.=
org> wrote:
> > > as part of a compressed ram experiment I'd like to try, I've first cl=
eaned up
> > > the current uvm swap support for I noticed that the support for encry=
pted swap
> > > became distributed and not logical anymore. In the attached patch I'v=
e
> > > contracted the encrypted support into the /dev/drum device and remove=
d 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.

i meant getiobuf in swstrategy. v2 looks same.


>
> With regards,
> Reinoud
>