Date: Wed, 8 Jun 2005 07:29:23 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_sem.c Message-ID: <200506080729.j587TNok098097@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-06-08 07:29:23 UTC FreeBSD src repository Modified files: sys/kern uipc_sem.c Log: In sem_forkhook(), don't attempt to generate a copy of the process semaphore list on fork() if the process doesn't actually have references to any semaphores. This avoids extra work, as well as potentially asking to allocate storage for 0 references. Found by: avatar MFC after: 1 week Revision Changes Path 1.20 +4 -0 src/sys/kern/uipc_sem.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506080729.j587TNok098097>