Re: Is this a preempt issue in drivers/input/evdev.c

2007-05-13 Thread Jens Axboe
On Sat, May 12 2007, Dmitry Torokhov wrote: > Hi, > > On Friday 11 May 2007 23:18, Yin,Fengwei wrote: > > > > So if the evdev_release() is preempted at the point marked by another > > process which will open the evdev, which will make operation sequence > > like: > > > >--evdev->open in evde

Re: Is this a preempt issue in drivers/input/evdev.c

2007-05-11 Thread Dmitry Torokhov
Hi, On Friday 11 May 2007 23:18, Yin,Fengwei wrote: > > So if the evdev_release() is preempted at the point marked by another > process which will open the evdev, which will make operation sequence > like: > >--evdev->open in evdev_release() > -> preempted >

Is this a preempt issue in drivers/input/evdev.c

2007-05-11 Thread Yin,Fengwei
Hi, When open/close evdev, the code is as following to handle multi-client operation: static int evdev_release(...) { ... if (!--evdev->open) { exist) input_close_device(...); e