[PATCH v2] mieq: Provide better adaptability and diagnostics during mieq overflow

Mark Kettenis mark.kettenis at xs4all.nl
Sun Oct 16 04:00:33 PDT 2011


> From: Jeremy Huddleston <jeremyhu at apple.com>
> Date: Sat, 15 Oct 2011 23:17:37 -0700
> 
> This patch changes from a static length event queue (512) to one that starts
> at 128 and grows to 4096 as it overflows, logging each time it grows.

The growing is done from mieqEnqueue(), which may be called from
signal handlers.  So you can't use malloc(3) and free(3) to grow the
queue.

> Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>

Sorry,

Nacked-by: Mark Kettenis <kettenis at openbsd.org>


More information about the xorg-devel mailing list