xserver/Xext
Eamon Walsh d7c5e8bfc1 Modified performance patches from Arjan van de Ven <arjan@infradead.org>
Subject: [PATCH] fix some performance gaps in Xace

The XaceHook function is used in several hotpaths.
The problem with it (performance wise) is twofold:
 * The XaceHook function has a big switch() statement for the hook number in it
 * The XaceHook function uses varargs to reassemble the final dispatch arguments again

Both are expensive operations... for something that is known at compile time

This patch turns the hotpath XaceHook call into a direct call to avoid
the switch and varargs; this gives me over 10% performance gain
on the x11perf benchmark.
2007-11-06 16:26:09 -05:00
..
appgroup.c Static and dead code cleaup for Xext/ 2007-03-25 17:57:22 -04:00
appgroup.h Static and dead code cleaup for Xext/ 2007-03-25 17:57:22 -04:00
bigreq.c
cup.c
dpms.c
dpmsproc.h
dpmsstubs.c
EVI.c
EVIstruct.h
fontcache.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
Makefile.am typo in comment 2007-09-04 22:39:14 +02:00
mbuf.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
mbufbf.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
mbufpx.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
mitmisc.c
panoramiX.c Static and dead code cleaup for Xext/ 2007-03-25 17:57:22 -04:00
panoramiX.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
panoramiXh.h Static and dead code cleaup for Xext/ 2007-03-25 17:57:22 -04:00
panoramiXprocs.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
panoramiXsrv.h Static and dead code cleaup for Xext/ 2007-03-25 17:57:22 -04:00
panoramiXSwap.c
sampleEVI.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
saver.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
security.c Remove the remnants of OS/2 support. 2007-06-28 18:59:05 -04:00
SecurityPolicy
securitysrv.h Static and dead code cleaup for Xext/ 2007-03-25 17:57:22 -04:00
shape.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
shm.c Add CreatePixmap allocation hints. 2007-11-04 16:11:28 -08:00
shmint.h Export fbShmPutImage to modules. 2007-08-24 14:02:35 +02:00
sleepuntil.c
sleepuntil.h
sync.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
xace.c Modified performance patches from Arjan van de Ven <arjan@infradead.org> 2007-11-06 16:26:09 -05:00
xace.h Modified performance patches from Arjan van de Ven <arjan@infradead.org> 2007-11-06 16:26:09 -05:00
xacestr.h
xcalibrate.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
xcmisc.c CVE-2007-1003: XC-MISC Extension ProcXCMiscGetXIDList() Memory Corruption 2007-04-03 15:47:18 +02:00
xevie.c Static and dead code cleaup for Xext/ 2007-03-25 17:57:22 -04:00
xf86bigfont.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
xprint.c
xres.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
xtest.c
xvdisp.c
xvdisp.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
xvdix.h
xvmain.c Bug #10560: Code-Cleanup: function declarations () -> (void) 2007-04-09 14:33:15 -07:00
xvmc.c Bug #10560: Code-Cleanup: function declarations () -> (void) 2007-04-09 14:33:15 -07:00
xvmcext.h