summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-04-22 13:22:05 -0700
committerMikulas Patocka <mpatocka@redhat.com>2025-05-04 11:35:05 +0200
commitf9ed31214e2ac43cd38d1e517e774050b613b8da (patch)
tree80e2f482aa10a961b1c1e843349531bc81119a48 /net/lapb/lapb_timer.c
parentabb4cf2f4c1c1b637cad04d726f2e13fd3051e03 (diff)
dm-verity: use softirq context only when !need_resched()
Further limit verification in softirq (a.k.a. BH) context to cases where rescheduling of the interrupted task is not pending. This helps prevent the CPU from spending too long in softirq context. Note that handle_softirqs() in kernel/softirq.c already stops running softirqs in this same case. However, that check is too coarse-grained, since many I/O requests can be processed in a single BLOCK_SOFTIRQ. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions