From owner-cvs-src@FreeBSD.ORG Fri Jul 18 14:20:30 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71F161065677; Fri, 18 Jul 2008 14:20:30 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 367F68FC18; Fri, 18 Jul 2008 14:20:30 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m6IEKUWY078488; Fri, 18 Jul 2008 14:20:30 GMT (envelope-from gonzo@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6IEKUfN078484; Fri, 18 Jul 2008 14:20:30 GMT (envelope-from gonzo@repoman.freebsd.org) Message-Id: <200807181420.m6IEKUfN078484@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to gonzo@repoman.freebsd.org using -f From: Oleksandr Tymoshenko Date: Fri, 18 Jul 2008 14:20:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/kern uipc_sem.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2008 14:20:30 -0000 gonzo 2008-07-18 14:20:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_sem.c Log: SVN rev 180592 on 2008-07-18 14:20:16Z by gonzo MFC r179716: 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 MFC after: more then 1 month Revision Changes Path 1.28.2.3 +3 -4 src/sys/kern/uipc_sem.c