summaryrefslogtreecommitdiff
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2023-09-25 17:54:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-28 17:19:51 +0000
commita7762cb2904603bf5e3001fa29f3ed6713b82daf (patch)
tree95de23c265a5e88e996838143cea97a141e46fef /block/blk-mq.c
parent0735ea00b2711f49bc79d5705b2e1e006a32a056 (diff)
downloadlinux-rpi-a7762cb2904603bf5e3001fa29f3ed6713b82daf.tar.gz
linux-rpi-a7762cb2904603bf5e3001fa29f3ed6713b82daf.tar.bz2
linux-rpi-a7762cb2904603bf5e3001fa29f3ed6713b82daf.zip
xen/events: fix delayed eoi list handling
[ Upstream commit 47d970204054f859f35a2237baa75c2d84fcf436 ] When delaying eoi handling of events, the related elements are queued into the percpu lateeoi list. In case the list isn't empty, the elements should be sorted by the time when eoi handling is to happen. Unfortunately a new element will never be queued at the start of the list, even if it has a handling time lower than all other list elements. Fix that by handling that case the same way as for an empty list. Fixes: e99502f76271 ("xen/events: defer eoi in case of excessive number of events") Reported-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions