[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    Re: [PATCH 0/3] Make timers even more resistant to signals
From:       Keith Packard <keithp () keithp ! com>
Date:       2012-09-28 8:25:50
Message-ID: 86obkqk0z5.fsf () miki ! keithp ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

Content-Transfer-Encoding: quoted-printable

Peter Hutterer <peter.hutterer@who-t.net> writes:

> Thanks, merged this into my tree. This should fix the remaining issues we're
> seeing with synaptics.

Did you see my comments about this patch? I'm really not excited about
adding 12 more syscalls per WaitForSomething invocation. Seems like
there are two options to fix this 'correctly':

 1) Have the synaptics driver modify the timer interval from either a
    wakeup or block handler as appropriate.

 2) Provide a signal-safe timer value setting function in DIX. This
    would set a global flag indicating that 'something' changed in the
    timers. WaitForSomething could use this flag to check whether the
    timers need fixing before computing the timeout value for select.

At the very least, the server should only be blocking SIGIO and not all
signals; that's half the syscalls...

-- 
keith.packard@intel.com

[Attachment #5 (application/pgp-signature)]

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic