xserver-multidpi/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 Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
cup.c Naming change: Security*Access -> Dix*Access 2006-12-14 14:45:42 -05:00
dpms.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
dpmsproc.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
dpmsstubs.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
EVI.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
EVIstruct.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
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 remove optional R3 backwards compatibility 2006-08-07 23:43:40 +03:00
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 Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
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 R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
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 Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
sleepuntil.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
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 Add four new XACE hooks: auditing, key event notification, window init 2006-08-25 18:17:01 -04:00
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 Convert callers of LookupDrawable() to dixLookupDrawable(). 2006-12-15 16:36:29 -05:00
xres.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
xtest.c Xext: Update device's lastx/lasty when sending a motion event with XTest. 2007-03-01 09:59:37 +10:30
xvdisp.c Convert callers of LookupWindow() to dixLookupWindow(). 2006-12-15 14:19:54 -05:00
xvdisp.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
xvdix.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
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 Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00