cvs commit: src/sys/fs/procfs procfs_status.c

Jeff Roberson jeff at FreeBSD.org
Sun Sep 16 22:31:40 PDT 2007


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


More information about the cvs-src mailing list