Module Name: src Committed By: thorpej Date: Sun Apr 19 20:32:00 UTC 2020
Modified Files: src/sys/compat/linux/common: linux_misc.c linux_sched.c src/sys/compat/linux32/common: linux32_sysinfo.c src/sys/compat/netbsd32: netbsd32_execve.c src/sys/kern: kern_exec.c kern_exit.c kern_proc.c src/sys/miscfs/procfs: procfs_linux.c procfs_vfsops.c src/sys/rump/librump/rumpkern: lwproc.c Log Message: - Only increment nprocs when we're creating a new process, not just when allocating a PID. - Per above, proc_free_pid() no longer decrements nprocs. It's now done in proc_free() right after proc_free_pid(). - Ensure nprocs is accessed using atomics everywhere. To generate a diff of this commit: cvs rdiff -u -r1.247 -r1.248 src/sys/compat/linux/common/linux_misc.c cvs rdiff -u -r1.73 -r1.74 src/sys/compat/linux/common/linux_sched.c cvs rdiff -u -r1.10 -r1.11 src/sys/compat/linux32/common/linux32_sysinfo.c cvs rdiff -u -r1.41 -r1.42 src/sys/compat/netbsd32/netbsd32_execve.c cvs rdiff -u -r1.496 -r1.497 src/sys/kern/kern_exec.c cvs rdiff -u -r1.287 -r1.288 src/sys/kern/kern_exit.c cvs rdiff -u -r1.243 -r1.244 src/sys/kern/kern_proc.c cvs rdiff -u -r1.80 -r1.81 src/sys/miscfs/procfs/procfs_linux.c cvs rdiff -u -r1.104 -r1.105 src/sys/miscfs/procfs/procfs_vfsops.c cvs rdiff -u -r1.44 -r1.45 src/sys/rump/librump/rumpkern/lwproc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.