aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2020-12-14 09:07:13 +0000
committerJuergen Gross <[email protected]>2020-12-14 09:07:13 +0000
commit3dc86ca6b4c8cfcba9da7996189d1b5a358a94fc (patch)
treef862850ffd2c042167390114c8b8e6354febce04 /drivers/pci/controller/pci-host-common.c
parentxen/xenbus/xen_bus_type: Support will_handle watch callback (diff)
downloadkernel-3dc86ca6b4c8cfcba9da7996189d1b5a358a94fc.tar.gz
kernel-3dc86ca6b4c8cfcba9da7996189d1b5a358a94fc.zip
xen/xenbus: Count pending messages for each watch
This commit adds a counter of pending messages for each watch in the struct. It is used to skip unnecessary pending messages lookup in 'unregister_xenbus_watch()'. It could also be used in 'will_handle' callback. This is part of XSA-349 Cc: [email protected] Signed-off-by: SeongJae Park <[email protected]> Reported-by: Michael Kurth <[email protected]> Reported-by: Pawel Wieczorkiewicz <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions