CVS commit: src/sys

"Jason R Thorpe" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	thorpej
Date:		Sun May  3 16:02:37 UTC 2026

Modified Files:
	src/sys/dev: fss.c vnd.c
	src/sys/external/bsd/drm2/include/linux: shrinker.h
	src/sys/fs/puffs: puffs_msgif.c puffs_node.c puffs_vfsops.c
	    puffs_vnops.c
	src/sys/kern: vfs_bio.c vfs_vnode.c
	src/sys/miscfs/genfs: genfs_io.c
	src/sys/nfs: nfs_bio.c
	src/sys/rump/librump/rumpkern: vm.c
	src/sys/sys: param.h
	src/sys/ufs/ffs: ffs_snapshot.c
	src/sys/ufs/lfs: lfs_pages.c
	src/sys/uvm: uvm.h uvm_page.c uvm_pager.c uvm_pdaemon.c uvm_swap.c

Log Message:
Introduce a new function, uvm_lwp_is_pagedaemon(), which returns true
if the specified LWP is the pagedaemon LWP.  This test is inline for
the kernel proper, and directed to a function for modules.  This, in turn,
allows us to hide "struct uvm_cpu" and "struct uvm" from modules, as
these have arrays in them that are not a consistent size certainly across
$MACHINEs within a given $MACHINE_ARCH, and may not necessarily even be
consistent within a given $MACHINE.

NetBSD -> 11.99.6 because new symbol referenced by modules.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/dev/fss.c
cvs rdiff -u -r1.291 -r1.292 src/sys/dev/vnd.c
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/include/linux/shrinker.h
cvs rdiff -u -r1.108 -r1.109 src/sys/fs/puffs/puffs_msgif.c
cvs rdiff -u -r1.38 -r1.39 src/sys/fs/puffs/puffs_node.c
cvs rdiff -u -r1.126 -r1.127 src/sys/fs/puffs/puffs_vfsops.c
cvs rdiff -u -r1.226 -r1.227 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -u -r1.307 -r1.308 src/sys/kern/vfs_bio.c
cvs rdiff -u -r1.157 -r1.158 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.104 -r1.105 src/sys/miscfs/genfs/genfs_io.c
cvs rdiff -u -r1.202 -r1.203 src/sys/nfs/nfs_bio.c
cvs rdiff -u -r1.197 -r1.198 src/sys/rump/librump/rumpkern/vm.c
cvs rdiff -u -r1.743 -r1.744 src/sys/sys/param.h
cvs rdiff -u -r1.155 -r1.156 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -u -r1.28 -r1.29 src/sys/ufs/lfs/lfs_pages.c
cvs rdiff -u -r1.78 -r1.79 src/sys/uvm/uvm.h
cvs rdiff -u -r1.256 -r1.257 src/sys/uvm/uvm_page.c
cvs rdiff -u -r1.135 -r1.136 src/sys/uvm/uvm_pager.c
cvs rdiff -u -r1.138 -r1.139 src/sys/uvm/uvm_pdaemon.c
cvs rdiff -u -r1.231 -r1.232 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.