]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Evidently I've overestimated gcc's ability to peak inside inline functions
authorKip Macy <kmacy@FreeBSD.org>
Thu, 1 Mar 2007 09:35:48 +0000 (09:35 +0000)
committerKip Macy <kmacy@FreeBSD.org>
Thu, 1 Mar 2007 09:35:48 +0000 (09:35 +0000)
commita5bceb77f204b396a2f5b2ff3bd11ed4e65ed9f8
tree28b7efc36f36fa54c22f80ec44e51ce68aabe73c
parentb07b4f122960ce4163c65caf7e76a2178a3c83f3
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.
sys/kern/kern_mutex.c
sys/kern/kern_sx.c