cvs commit: src/sys/kern uipc_sem.c

Oleksandr Tymoshenko gonzo at FreeBSD.org
Tue Jun 10 20:55:19 UTC 2008


gonzo       2008-06-10 20:55:10 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_sem.c 
  Log:
  SVN rev 179716 on 2008-06-10 20:55:10Z by gonzo
  
    Keep proper track of nsegs counter: sem_free is called for all
    allocated semaphores, so it's wrong to increase it conditionally,
    in this case for every over-the-limit semaphore nsegs is decreased
    without being previously increased.
  
    PR:   kern/123685
    Approved by:  cognet (mentor)
  
  Revision  Changes    Path
  1.32      +3 -4      src/sys/kern/uipc_sem.c


More information about the cvs-all mailing list