aboutsummaryrefslogtreecommitdiff
path: root/blockdev.c
diff options
context:
space:
mode:
authorColin Xu <colin.xu@intel.com>2020-09-25 10:18:08 +0800
committerGerd Hoffmann <kraxel@redhat.com>2020-10-14 06:05:56 +0200
commit33d72145d783457973e29aed703b84f820763f47 (patch)
tree415b0c0c917b24128aa21eb5d4fe9ac87ffeb526 /blockdev.c
parent67c6f1dbb708f4cf0edc18d427f694654999b4b2 (diff)
input-linux: Reset il->fd handler before closing it
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 <colin.xu@intel.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> Message-id: 20200925021808.26471-1-colin.xu@intel.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions