Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 20:37:55 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern sys_process.c
Message-ID:  <200202210437.g1L4btc69989@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2002/02/20 20:37:55 PST

  Modified files:
    sys/kern             sys_process.c 
  Log:
  Recover bits that were lost in transition in rev.1.76:
  - P_INMEM checks in all the functions.  P_INMEM must be checked because
    PHOLD() is broken.  The old bits had bogus locking (using sched_lock)
    to lock P_INMEM.  After removing the P_INMEM checks, we were left with
    just the bogus locking.
  - large comments.  They were too large, but better than nothing.
  
  Remove obfuscations that were gained in transition in rev.1.76:
  - PROC_REG_ACTION() is even more of an obfuscation than PROC_ACTION().
  
  The change copies procfs_machdep.c rev.1.22 of i386/procfs_machdep.c
  verbatim except for "fixing" the old-style function headers and adjusting
  function names and comments.  It doesn't remove the bogus locking.
  
  Approved by:    des
  
  Revision  Changes    Path
  1.80      +77 -16    src/sys/kern/sys_process.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202210437.g1L4btc69989>