tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: uvm_swap compression patch



hi,

On Thu, Jul 2, 2026 at 4:04 AM Reinoud Zandijk <reinoud%netbsd.org@localhost> wrote:
>
> Dear folks,
>
> 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)

> I've tested it using read/write on /dev/drum and tested it for swapping on
> amd64 using plain and encrypted forms. One point of discussion could be that
> writing to /dev/drum from userland could be allowed or not. In the current
> patch its allowed
>
> Any thouhts? I'd like to commit it.
>
> With regards,
> Reinoud
>


Home | Main Index | Thread Index | Old Index