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
..
bstore.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
bstorestr.h
Implement core protocol backing store exclusively in terms of Composite.
2007-08-25 15:08:20 -04:00
closestr.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
closure.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
colormap.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
colormapst.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
cursor.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
cursorstr.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
dix-config.h.in
Sun bug 6589829: include zoneid of shm segment in access policy for MIT-SHM
2007-10-09 18:44:51 -07:00
dix.h
Fix #12650 : "windows not receiving mouse events in multiple screens context"
2007-10-02 13:48:48 +02:00
dixevents.h
dix/events: take screen number, not pointer, in PostSyntheticMotion
2006-12-27 16:38:06 +00:00
dixfont.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
dixfontstr.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
dixgrabs.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
dixstruct.h
reduce wakeups from smart scheduler
2007-10-30 11:18:56 -07:00
exevents.h
Xi: Include XI protocol header in exevents.h
2007-10-28 15:49:56 +02:00
extension.h
Merge branch 'XACE-modular' into my-XACE-modular
2006-08-21 18:49:31 -04:00
extinit.h
Static cleanup on Xi/
2007-03-25 21:18:39 -04:00
extnsionst.h
General DIX static and dead code cleanup.
2007-03-25 17:57:54 -04:00
gc.h
General DIX static and dead code cleanup.
2007-03-25 17:57:54 -04:00
gcstruct.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
globals.h
Static cleanups, dead code deletion.
2007-03-25 12:27:01 -04:00
hotplug.h
Convert all my license statements to the standard form
2007-08-01 01:53:31 +03:00
input.h
Input: Allow a pointer to a device to be returned in NIDR
2007-04-11 00:38:16 +03:00
inputstr.h
Fix key repeats during VT switch.
2007-09-05 17:46:23 -07:00
kdrive-config.h.in
kdrive: numerous warning fixes
2006-10-23 06:08:27 +03:00
Makefile.am
Build system: Add missing files
2007-08-01 08:11:22 +03:00
misc.h
Turn boxes and regions into typedefs for pixman types
2007-05-15 11:13:14 -04:00
miscstruct.h
Revert "Fix <pixman.h> include to <pixman/pixman.h>"
2007-08-22 09:00:45 -07:00
opaque.h
dix: add whiteroot flag
2006-08-18 17:04:48 +03:00
os.h
Get rid of unnecessary GNU extended variadic macro.
2007-10-23 15:39:23 +02:00
pixmap.h
Death to RCS tags.
2007-06-29 14:06:52 -04:00
pixmapstr.h
Death to RCS tags.
2007-06-29 14:06:52 -04:00
property.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
propertyst.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
region.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
regionstr.h
Add new InitRegions() function called from dix/main
2007-05-15 11:13:15 -04:00
resource.h
Naming change: Security*Access -> Dix*Access
2006-12-14 14:45:42 -05:00
rgb.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
screenint.h
remove PIXPRIV checks as this flag is always set.
2007-03-06 17:05:03 -05:00
scrnintstr.h
Remove the PaintWindow optimization.
2007-09-13 00:08:53 +00:00
selection.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
servermd.h
mass change from #ifdef i386 to #ifdef __i386__ to conform to ANSI
2007-10-14 18:07:03 -07:00
site.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
swaprep.h
General DIX static and dead code cleanup.
2007-03-25 17:57:54 -04:00
swapreq.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
validate.h
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
window.h
Death to RCS tags.
2007-06-29 14:06:52 -04:00
windowstr.h
Make Composite manual redirect windows not clip their parent.
2007-07-03 14:29:11 -07:00
xgl-config.h.in
Initial commit of XGL build infrastructure and XGL code changes for
2005-12-28 10:31:46 +00:00
XIstubs.h
Xi: disallow changing core keyboard and pointer
2006-10-29 03:43:34 +03:00
xkb-config.h.in
Fix remnants of previous busted _XkbStrCaseCmp commit.
2006-03-27 22:28:32 +00:00
xkbsrv.h
xkb: enable XI event processing for xkb.
2007-10-28 16:04:43 +02:00
xorg-config.h.in
Define PCI_TXT_IDS_DIR more cleanly
2007-10-22 21:30:04 -04:00
xorg-server.h.in
Add XSERVER_LIBPCIACCESS to xorg-server.h when using libpciaccess
2007-08-26 22:11:45 -07:00
xwin-config.h.in
Define XFree86Server only where it is required.
2005-12-02 06:02:45 +00:00