diff options
author | 2024-01-19 21:16:39 +0100 | |
---|---|---|
committer | 2024-01-28 09:49:47 +0100 | |
commit | c8708d758e715c3824a73bf0cda97292b52be44d (patch) | |
tree | da08af9996348dd9973cdd33fe152a1ad024e30b /tools/perf/scripts/python | |
parent | parisc: Check for valid stride size for cache flushes (diff) | |
download | wireguard-linux-c8708d758e715c3824a73bf0cda97292b52be44d.tar.xz wireguard-linux-c8708d758e715c3824a73bf0cda97292b52be44d.zip |
parisc: Prevent hung tasks when printing inventory on serial console
Printing the inventory on a serial console can be quite slow and thus may
trigger the hung task detector (CONFIG_DETECT_HUNG_TASK=y) and possibly
reboot the machine. Adding a cond_resched() prevents this.
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v6.0+
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions