Re: [PATCH] x86 rwsem optimization extreme
From: Andi Kleen
Date: Thu Feb 18 2010 - 03:12:25 EST
Zachary Amsden <zamsden@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/