NetBSD-Bugs archive

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

Re: kern/60084: swap encryption: per-page tracking seems overengineered



> Date: Wed, 25 Mar 2026 13:11:01 +0900
> From: Takashi YAMAMOTO <yamt9999%gmail.com@localhost>
> 
> >  > my proposal is just a global knob (vm.swap_encrypt) which can't be
> >  > changed if any swap devices are configured.
> >
> >  here's a patch.
> >  identical patch is available at
> >  https://github.com/yamt/netbsd-src/commit/471d17d6708677e778c2e6d82afd5d6041863f10
> 
> Taylor, is this acceptable for you?

Go for it!  But please make sure to test that things work when you set
them up in /etc/sysctl.conf and /etc/fstab, when the vm.swap_encrypt
setting doesn't match the kernel default.



Home | Main Index | Thread Index | Old Index