Date: Thu, 1 Mar 2007 09:35:49 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mutex.c kern_sx.c Message-ID: <200703010935.l219ZnHZ029976@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kmacy 2007-03-01 09:35:48 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c kern_sx.c Log: Evidently I've overestimated gcc's ability to peak inside inline functions and optimize away unused stack values. The 48 bytes that the lock_profile_object adds to the stack evidently has a measurable performance impact on certain workloads. Revision Changes Path 1.182 +8 -4 src/sys/kern/kern_mutex.c 1.35 +8 -2 src/sys/kern/kern_sx.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703010935.l219ZnHZ029976>