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
On Thu, Mar 26, 2026 at 12:40 PM Taylor R Campbell via gnats
<gnats-admin%netbsd.org@localhost> wrote:
>
> The following reply was made to PR kern/60084; it has been noted by GNATS.
>
> From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
> To: Takashi YAMAMOTO <yamt9999%gmail.com@localhost>
> Cc: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost,
> gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, imuwoto%gmail.com@localhost
> Subject: Re: kern/60084: swap encryption: per-page tracking seems overengineered
> Date: Thu, 26 Mar 2026 03:36:21 +0000
>
> > Date: Wed, 25 Mar 2026 13:11:01 +0900
> > From: Takashi YAMAMOTO <yamt9999%gmail.com@localhost>
> >=20
> > > > 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/471d17d6708677e778c2e6d82afd=
> 5d6041863f10
> >=20
> > 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.
my vm has a swap in /etc/fstab and vm.swap_encrypt=0 in
/etc/sysctl.conf to workaround the bugs.
it seems working as expected.
Home |
Main Index |
Thread Index |
Old Index