[PATCH 2/2 v4] mieq: Reserve some space in EQ for release and other special events

Keith Packard 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
initial size.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111016/2f925409/attachment-0001.pgp>


More information about the xorg-devel mailing list