CVS commit: src/sys/uvm

"YAMAMOTO Takashi" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	yamt
Date:		Fri Mar 27 07:13:06 UTC 2026

Modified Files:
	src/sys/uvm: uvm_swap.c

Log Message:
simplify swap encryption a bit

* disallow changes of vm.swap_encrypt sysctl when any swap
  is configured.  note: this doesn't affect the ability to
  set it in /etc/sysctl.conf because /etc/rc.d/sysctl is
  executed before /etc/rc.d/swap1.

* retire per-page encryption tracking. (swd_encmap)
  from now on, the whole swap is encrypted or not.

PR/60084
https://gnats.netbsd.org/60084


To generate a diff of this commit:
cvs rdiff -u -r1.219 -r1.220 src/sys/uvm/uvm_swap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.