aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2023-05-23 10:10:15 +0800
committerSong Liu <[email protected]>2023-06-13 15:25:13 -0700
commitc333673a78307abe6b1f6998809288fcd86740ed (patch)
treee1020da57890dee0daaba3cd96a831dee8b11116 /scripts/gdb/linux/utils.py
parent955a257d69e44cea09b0375b8f2f3d4d9fcf7b4e (diff)
md/bitmap: always wake up md_thread in timeout_store
md_wakeup_thread() can handle the case that pass in md_thread is NULL, the only difference is that md_wakeup_thread() will be called when current timeout is 'MAX_SCHEDULE_TIMEOUT', this should not matter because timeout_store() is not hot path, and the daemon process is woke up more than demand from other context already. Prepare to factor out a helper to set timeout. Signed-off-by: Yu Kuai <[email protected]> Signed-off-by: Song Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions