Go to file
Arjan van de Ven 2338d5c991 reduce wakeups from smart scheduler
The smart scheduler itimer currently always fires after each request
(which in turn causes the CPU to wake out of idle, burning precious
power). Rather than doing this, just stop the timer before going into
the select() portion of the WaitFor loop. It's a cheap system call, and
it will only get called if there's no more commands batched up from the
active fd.

This change also allows some of the functions to be simplified;
setitimer() will only fail if it's passed invalid data, and we don't do
that... so make it void and remove all the conditional code that deals
with failure.

The change also allows us to remove a few variables that were used for
housekeeping between the signal handler and the main loop.

Signed-off-by: Keith Packard <keithp@koto.keithp.com>
2007-10-30 11:18:56 -07:00
afb Remove the PaintWindow optimization. 2007-09-13 00:08:53 +00:00
cfb Remove the PaintWindow optimization. 2007-09-13 00:08:53 +00:00
cfb32 get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE 2006-07-18 18:17:38 -04:00
composite Set noCompositeExtension to TRUE when failing to initialize the extension (e.g. when Xinerama is enabled). 2007-09-20 14:00:33 -07:00
config Don't segfault on shutdown if we never managed to connect to dbus. 2007-09-20 16:22:24 -07:00
damageext Death to RCS tags. 2007-06-29 14:06:52 -04:00
dbe Death to RCS tags. 2007-06-29 14:06:52 -04:00
dix dix: don't compress motion events from different devices (EventEnqueue) 2007-10-28 16:07:30 +02:00
doc Add Xserver man section about catalogue:<dir> FPE 2007-09-04 17:20:28 -07:00
exa EXA: Fix off-by-one in polyline drawing. 2007-10-23 16:45:13 +02:00
fb fbcmap_mi.c: add a missing api 2007-10-02 16:55:17 +02:00
GL Set up visuals for the existing X visuals. 2007-10-29 18:14:18 -04:00
hw Set up visuals for the existing X visuals. 2007-10-29 18:14:18 -04:00
include reduce wakeups from smart scheduler 2007-10-30 11:18:56 -07:00
mfb Remove the PaintWindow optimization. 2007-09-13 00:08:53 +00:00
mi Change the GLX module to initialize after COMPOSITE. 2007-10-29 18:14:18 -04:00
miext Replace calls to Glyphs screen hook with CompositeGlyphs and remove dead code. 2007-10-19 16:34:54 -07:00
os reduce wakeups from smart scheduler 2007-10-30 11:18:56 -07:00
randr Initialize output->pendingProperties. 2007-09-15 14:01:57 +02:00
record Death to RCS tags. 2007-06-29 14:06:52 -04:00
render Restore the CompositeGlyphs -> ps->Glyphs -> miGlyphs callchain to allow acceleration architectures to wrap above miGlyphs. 2007-10-26 15:14:03 -07:00
Xext Sun bug 6589829: include zoneid of shm segment in access policy for MIT-SHM 2007-10-09 18:44:51 -07:00
xfixes Death to RCS tags. 2007-06-29 14:06:52 -04:00
Xi Input: Properly swap DevicePresenceNotify events. 2007-09-26 07:26:59 -04:00
xkb XKB: Cope with all events in XkbProcessKeyboardEvent 2007-10-28 17:31:05 +02:00
XTrap Death to RCS tags. 2007-06-29 14:06:52 -04:00
.gitignore Add more generated files to .gitignore. 2007-08-29 16:05:23 -07:00
acinclude.m4 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 2007-07-25 17:42:23 -07:00
autogen.sh Use canonical autogen.sh, which supports srcdir != objdir autogen. 2005-07-01 21:13:36 +00:00
configure.ac configure.ac/XFree86: Only build XF86Misc and XF86VidMode when appropriate 2007-10-28 15:46:26 +02:00
COPYING Add proper COPYING file 2007-08-01 08:07:08 +03:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Generate ChangeLog file for make dist. 2007-07-10 21:33:54 -07:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Drivers include miscstruct.h which requires pixman.h. 2007-10-12 15:33:31 +02:00