Date: Mon, 17 Sep 2007 05:31:39 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/procfs procfs_status.c Message-ID: <200709170531.l8H5Vd06033011@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2007-09-17 05:31:39 UTC
FreeBSD src repository
Modified files:
sys/fs/procfs procfs_status.c
Log:
- Move all of the PS_ flags into either p_flag or td_flags.
- p_sflag was mostly protected by PROC_LOCK rather than the PROC_SLOCK or
previously the sched_lock. These bugs have existed for some time.
- Allow swapout to try each thread in a process individually and then
swapin the whole process if any of these fail. This allows us to move
most scheduler related swap flags into td_flags.
- Keep ki_sflag for backwards compat but change all in source tools to
use the new and more correct location of P_INMEM.
Reported by: pho
Reviewed by: attilio, kib
Approved by: re (kensmith)
Revision Changes Path
1.62 +3 -5 src/sys/fs/procfs/procfs_status.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709170531.l8H5Vd06033011>
