aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2023-02-13 11:35:19 +0000
committerHeiko Carstens <[email protected]>2023-02-15 10:07:01 +0000
commit6472a2dcc4274452bb46fb5a0d968a1c1ed772ee (patch)
tree9af7314210b1e841eb15a485abe6e3320c49ab91 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
parents390/processor: add test_and_set_cpu_flag() and test_and_clear_cpu_flag() (diff)
downloadkernel-6472a2dcc4274452bb46fb5a0d968a1c1ed772ee.tar.gz
kernel-6472a2dcc4274452bb46fb5a0d968a1c1ed772ee.zip
s390/irq,idle: simplify idle check
Use the per-cpu CIF_ENABLED_WAIT flag to decide if an interrupt occurred while a cpu was idle, instead of checking two conditions within the old psw. Also move clearing of the CIF_ENABLED_WAIT bit to the early interrupt handler, which in turn makes arch_vcpu_is_preempted() also a bit more precise, since the flag is now cleared before interrupt handlers have been called. Reviewed-by: Sven Schnelle <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions