Re: [RPC] OLPC tablet input driver.
From: Dmitry Torokhov
Date: Tue Aug 29 2006 - 08:26:33 EST
On 8/29/06, Zephaniah E. Hull <warp@xxxxxxxxxxx> wrote:
>
> also.. there's no locking visible anywhere in the driver... is this
> right?
It looks like psmouse handles it with a mutex lock around freeing stuff
and calling the callback function pointers we set on init, so we
_should_ be safe unless I've missed something.
Add to it that none of the other psmouse drivers are doing locking on
their own, and I'm fairly sure that this is correct. (But if someone
knows better, please correct me.)
Serio and psmouse cores should handle all necessary locking, no worries here.
--
Dmitry
-
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/