diff options
author | 2019-01-29 18:48:45 +0000 | |
---|---|---|
committer | 2019-02-07 23:10:45 +0100 | |
commit | ee2eb3d4ee175c2fb5c7f67e84f5fe40a8147d92 (patch) | |
tree | afce734b48c7e0b83ff6d7950c24e372e4b6ade1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / APEI: Don't update struct ghes' flags in read/clear estatus (diff) | |
download | wireguard-linux-ee2eb3d4ee175c2fb5c7f67e84f5fe40a8147d92.tar.xz wireguard-linux-ee2eb3d4ee175c2fb5c7f67e84f5fe40a8147d92.zip |
ACPI / APEI: Generalise the estatus queue's notify code
Refactor the estatus queue's pool notification routine from
NOTIFY_NMI's handlers. This will allow another notification
method to use the estatus queue without duplicating this code.
Add rcu_read_lock()/rcu_read_unlock() around the list
list_for_each_entry_rcu() walker. These aren't strictly necessary as
the whole nmi_enter/nmi_exit() window is a spooky RCU read-side
critical section.
in_nmi_queue_one_entry() is separate from the rcu-list walker for a
later caller that doesn't need to walk a list.
Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Punit Agrawal <punit.agrawal@arm.com>
Tested-by: Tyler Baicar <tbaicar@codeaurora.org>
[ rjw: Drop unnecessary err variable in two places ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions