Re: [PATCH] x86 rwsem optimization extreme

Andi Kleen
2010-02-18T08:12:21Z

Zachary Amsden <zamsden@redhat.com> writes:
>
> Incidentally, the cost of putting all the rwsem code inline, using the
> straightforward approach, for git-tip, using defconfig on x86_64 is
> 3565 bytes / 20971778 bytes total, or 0.0168%, using gcc 4.4.3.

The nice advantage of putting lock code inline is that it gets
accounted to the caller in all profilers.

-Andi

--
ak@linux.intel.com -- Speaking for myself only.