[PATCH] Move event filter initializer out of the structure itself

Daniel Stone daniel at fooishbar.org
Thu Apr 28 04:23:58 PDT 2011


On Fri, Apr 22, 2011 at 10:19:39PM -0700, Alan Coopersmith wrote:
> When kept in the structure, it causes the entire MAXDEVICES * 128 masks
> to be stored in the data segment and loaded from the file, and also leads
> to worries about later generations inheriting changes across server reset.
> 
>            text    data     bss     dec     hex filename
> Before:   91837   20528      32  112397   1b70d .libs/events.o
> After:    92277      48   20512  112837   1b8c5 .libs/events.o
> Before: 3013384  122696  163156 3299236  3257a4 Xorg
> After:  3013832  102216  183636 3299684  325964 Xorg
> 
> File size before:       4337008 Xorg
> File size after:        4316568 Xorg
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Reviewed-by: Daniel Stone <daniel at fooishbar.org>

I've merged this into my tree, thanks.


More information about the xorg-devel mailing list