xserver/Xext
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
appgroup.h
bigreq.c
cup.c
dpms.c
dpmsproc.h
dpmsstubs.c
EVI.c
EVIstruct.h
fontcache.c
Makefile.am
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
panoramiX.h
panoramiXh.h
panoramiXprocs.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
panoramiXsrv.h
panoramiXSwap.c
sampleEVI.c
saver.c Xext: Remove usage of alloca 2007-11-05 14:34:46 +00:00
security.c
SecurityPolicy
securitysrv.h
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
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
xcmisc.c
xevie.c
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
xvdix.h
xvmain.c
xvmc.c
xvmcext.h