Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 1999 03:13:52 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_fork.c
Message-ID:  <199912061113.DAA18975@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       1999/12/06 03:13:52 PST

  Modified files:
    sys/kern             kern_fork.c 
  Log:
  Put on my asbestos underwear and commit the patch that I posted to -arch
  some time ago that changes kern.randompid from a boolean to a randomness
  range for the next pid assigment.  Too high causes a lot of extra work
  to scan for free pids, and too low merely wastes randomness entropy.  It's
  still possible to select a completely random range by using PID_MAX (100k)
  or -1 as a shortcut to mean "the whole range".
  Also, don't waste randomness when doing a wraparound.
  
  Revision  Changes    Path
  1.72      +37 -4     src/sys/kern/kern_fork.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?199912061113.DAA18975>