Re: [PATCH] input-linux: Reset il->fd handler before closing it

2020-09-24 Thread Li Qiang
Colin Xu 于2020年9月25日周五 上午10:18写道: > > If object-del input-linux object on-the-fly, instance finalize will > close evdev fd without resetting it. However the main thread is still > trying to lock_acquire/lock_release during ppoll, which leads to a very > high CPU utilization. > > Signed-off-by: Col

[PATCH] input-linux: Reset il->fd handler before closing it

2020-09-24 Thread Colin Xu
If object-del input-linux object on-the-fly, instance finalize will close evdev fd without resetting it. However the main thread is still trying to lock_acquire/lock_release during ppoll, which leads to a very high CPU utilization. Signed-off-by: Colin Xu --- ui/input-linux.c | 1 + 1 file chang