Date: Sat, 24 Mar 2001 15:47:53 -0800 (PST) From: Bosko Milekic <bmilekic@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_mbuf.c src/sys/sys mbuf.h Message-ID: <200103242347.f2ONlrm07532@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bmilekic 2001/03/24 15:47:53 PST Modified files: sys/kern uipc_mbuf.c sys/sys mbuf.h Log: Move the atomic() mbstat.m_drops incrementing to the MGET(HDR) and MCLGET macros in order to avoid incrementing the drop count twice. Otherwise, in some cases, we may increment m_drops once in m_mballoc() for example, and increment it again in m_mballoc_wait() if the wait fails. Revision Changes Path 1.71 +6 -20 src/sys/kern/uipc_mbuf.c 1.72 +9 -4 src/sys/sys/mbuf.h 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?200103242347.f2ONlrm07532>