Skip to content
Commit 36d2582f authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: evdev - add a schedule point in evdev_write()



Large writes to evdev interface may cause rcu stalls. Let's add
cond_resched() to the loop to avoid this.

Reviewed-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent f74c371f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment