diff options
author | Greg Kroah-Hartman | 2018-10-12 12:35:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-10-12 12:35:02 +0200 |
commit | eb81bfb224ced3701bcc7b08f309665bf0549252 (patch) | |
tree | e8e148c679517b0da74d82660a55444adcd32bc2 /drivers/input/mousedev.c | |
parent | Merge tag 'next-fixes-20181012' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
parent | Input: uinput - add a schedule point in uinput_inject_events() (diff) | |
download | kernel-qcow2-linux-eb81bfb224ced3701bcc7b08f309665bf0549252.tar.gz kernel-qcow2-linux-eb81bfb224ced3701bcc7b08f309665bf0549252.tar.xz kernel-qcow2-linux-eb81bfb224ced3701bcc7b08f309665bf0549252.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Dmitry writes:
"Input updates for v4.19-rc7
- we added a few scheduling points into various input interfaces to
ensure that large writes will not cause RCU stalls
- fixed configuring PS/2 keyboards as wakeup devices on newer
platforms
- added a new Xbox gamepad ID."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: uinput - add a schedule point in uinput_inject_events()
Input: evdev - add a schedule point in evdev_write()
Input: mousedev - add a schedule point in mousedev_write()
Input: i8042 - enable keyboard wakeups by default when s2idle is used
Input: xpad - add support for Xbox1 PDP Camo series gamepad
Diffstat (limited to 'drivers/input/mousedev.c')
-rw-r--r-- | drivers/input/mousedev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index e08228061bcd..412fa71245af 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c @@ -707,6 +707,7 @@ static ssize_t mousedev_write(struct file *file, const char __user *buffer, mousedev_generate_response(client, c); spin_unlock_irq(&client->packet_lock); + cond_resched(); } kill_fasync(&client->fasync, SIGIO, POLL_IN); |