Re: [PATCH 1/3] input: mt: Simplify event bypass logic

From: Henrik Rydberg
Date: Tue May 04 2010 - 03:34:46 EST


Dmitry Torokhov wrote:
> On Sat, May 01, 2010 at 03:49:39PM +0200, Henrik Rydberg wrote:
>> The input bypass mechanism is only used by the MT events. Since all
>> MT events use bypassing by construction, the current list is a mere
>> duplication of input.h. This patch replaces the bypass list by a
>> simple range test.
>>
>
> Henrik,
>
> I disagree with the patch. I can not guarantee that we will be able to
> maintain continuous range of ABS_MT_* events and thus current scheme is
> more flexible.
>
> Thanks.
>

Yes, I was hesitant myself. I would rather keep all [ABS_MAX + 1 - ABS_MT_MIN]
in the slot. Introduces a memory slack but is more flexible.

Henrik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/