Enabling multitouch in input-evdev

Julien Cristau jcristau at debian.org
Mon Jan 18 04:53:17 PST 2010


On Mon, Jan 18, 2010 at 13:02:54 +0100, Benjamin Tissoires wrote:

> Peter Hutterer wrote:
> >First of all, thanks for your efforts here. I really appreciate that you
> >pushed it that far and I'm sorry about the delay in my comments.
> >
> >On Fri, Jan 08, 2010 at 12:55:21PM +0100, Benjamin Tissoires wrote:
> >>First, I try to dynamically create/detroy such subdevices. However,
> >>it infers very often freezes in the Xserver due to some mallocs. So
> >>the idea to solve this problem is to staticaly allocate the
> >>subdevices.
> >
> >Do you have any logs or other data on where these freezes occured? they'd be
> >useful for others as well since chances are someone is going to run into
> >this deadlock.
> >
> Sorry, when this freezes occurs I only had backtracks from the
> driver (a xmalloc) and not the other threads (I forgot to check
> them). I add this to my todo list.

The server is single threaded.  But if you're doing malloc in the SIGIO
handler (anything called from EvdevReadInput), then yeah, you can't do
that.

Cheers,
Julien


More information about the xorg-devel mailing list