Skip to content

powerpc: protect cpu offlining by RCU offline lock #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: rcu-dev
Choose a base branch
from

Conversation

kernel-patches-bot
Copy link

Pull request for series with
subject: powerpc: protect cpu offlining by RCU offline lock
version: 1
url: https://patchwork.kernel.org/project/rcu/list/?series=676744

@kernel-patches-bot
Copy link
Author

Master branch: 2f91146
series: https://patchwork.kernel.org/project/rcu/list/?series=676744
version: 1

@kernel-patches-bot
Copy link
Author

Master branch: 80fc02e
series: https://patchwork.kernel.org/project/rcu/list/?series=676744
version: 1

@kernel-patches-bot
Copy link
Author

Master branch: 80fc02e
series: https://patchwork.kernel.org/project/rcu/list/?series=676744
version: 1

@kernel-patches-bot
Copy link
Author

Master branch: 80fc02e
series: https://patchwork.kernel.org/project/rcu/list/?series=676744
version: 1

Pull request is NOT updated. Failed to apply https://patchwork.kernel.org/project/rcu/list/?series=676744
error message:

Cmd('git') failed due to: exit code(128)
  cmdline: git am -3
  stderr: 'fatal: Dirty index: cannot apply patches (dirty: .github/workflows/test.yml)'

conflict:


@kernel-patches-bot
Copy link
Author

Master branch: 32fad12
series: https://patchwork.kernel.org/project/rcu/list/?series=676744
version: 1

@kernel-patches-bot
Copy link
Author

Master branch: 32fad12
series: https://patchwork.kernel.org/project/rcu/list/?series=676744
version: 1

@kernel-patches-bot
Copy link
Author

Master branch: 32fad12
series: https://patchwork.kernel.org/project/rcu/list/?series=676744
version: 1

@kernel-patches-bot
Copy link
Author

Master branch: 32fad12
series: https://patchwork.kernel.org/project/rcu/list/?series=676744
version: 1

@kernel-patches-bot kernel-patches-bot force-pushed the series/676744=>rcu-dev branch 7 times, most recently from 7d5f0ac to 46dc483 Compare October 20, 2022 06:45
During the cpu offlining, the sub functions of xive_teardown_cpu will
call __lock_acquire when CONFIG_LOCKDEP=y. The latter function will
travel RCU protected list, so "WARNING: suspicious RCU usage" will be
triggered.

Try to protect cpu offlining by RCU offline lock.

Tested on PPC VM of Open Source Lab of Oregon State University.
(Each round of tests takes about 19 hours to finish)
Test results show that although "WARNING: suspicious RCU usage" has gone,
but there are more "BUG: soft lockup" reports than the original kernel
(10 vs 6), so I add a [RFC] to my subject line.

Signed-off-by: Zhouyi Zhou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants