diff options
| author | Paul E. McKenney <[email protected]> | 2023-01-31 12:08:54 -0800 |
|---|---|---|
| committer | Boqun Feng <[email protected]> | 2023-03-20 11:12:16 -0700 |
| commit | ef1ef3d47677dc191b88650a9f7f91413452cc1b (patch) | |
| tree | 0a6adac265cf38ef89be355bd9dd5918a6dd6da1 /drivers/cdx/controller/mcdi_functions.c | |
| parent | 4f02ac237813a31d4fcb4c9eb9b699b15956b53b (diff) | |
rcuscale: Move shutdown from wait_event() to wait_event_idle()
The rcu_scale_shutdown() and kfree_scale_shutdown() kthreads/functions
use wait_event() to wait for the rcuscale test to complete. However,
each updater thread in such a test waits for at least 100 grace periods.
If each grace period takes more than 1.2 seconds, which is long, but
not insanely so, this can trigger the hung-task timeout.
This commit therefore replaces those wait_event() calls with calls to
wait_event_idle(), which do not trigger the hung-task timeout.
Reported-by: kernel test robot <[email protected]>
Reported-by: Liam Howlett <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Tested-by: Yujie Liu <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions