[PATCH v2 03/12] composite: Only register the block handler when it is required

Daniel Stone daniel at fooishbar.org
Thu Dec 30 18:10:12 PST 2010

On Thu, Dec 30, 2010 at 07:19:34PM +0200, Pauli wrote:
> From: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
> Even calling block handler that doesn't do much is costly in arm. It
> takes a few microseconds each time which adds up to relative high CPU
> time because it is done 500+ times per second.
> Simple optimization is to register the block handler only when it is
> required.
> Signed-off-by: Pauli Nieminen <ext-pauli.nieminen at nokia.com>

Reviewed-by: Daniel Stone <daniel at fooishbar.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101231/1f99837e/attachment.pgp>

More information about the xorg-devel mailing list