[PATCH 2/2 v4] mieq: Reserve some space in EQ for release and other special events
keithp at keithp.com
Sun Oct 16 22:12:06 PDT 2011
On Sun, 16 Oct 2011 21:16:13 -0700, Jeremy Huddleston <jeremyhu at apple.com> wrote:
> The last 64 events in the event queue will be reserved for release
> events in order to help return the system to a cleaner state when
> it comes back from a soft wedge.
Yeah, seems reasonable to me.
> /* Queue size must be a power of 2 */
> -#define QUEUE_INITIAL_SIZE 128
> +#define QUEUE_INITIAL_SIZE 256
Just noticed this -- I don't see any place which requires a power of two
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: not available
More information about the xorg-devel