Skip to content

Conversation

hujun260
Copy link
Contributor

@hujun260 hujun260 commented Aug 28, 2025

Note: Please adhere to Contributing Guidelines.

Summary

In multicore system, We add a busywait flag to synchronize the startup of other cores.

Impact

NULL

Testing

ostest

@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Size: S The size of the change in this PR is small labels Aug 28, 2025
@xiaoxiang781216
Copy link
Contributor

@wangchdo could you review whether this patch could fix your problem?

Copy link
Contributor

@jerpelea jerpelea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add commit message
e0d6dff

Copy link
Contributor

@jerpelea jerpelea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add commit message
e9ebdae

@acassis
Copy link
Contributor

acassis commented Aug 28, 2025

@hujun260 please use the title of this PR to explain the Kconfig symbol help :-). Also the PR title should start with the feature/subsystem info, i.e.: sched/smp: use busywait flag to sync cores during the boot

On a system with multiple CPU cores, when the system is powered on,
multiple cores may start running simultaneously. In this case, software
is required to handle the startup logic for multi-core synchronization.
One approach is to use global variables.
however, the global variable region may not have been initialized yet.
In such scenarios, we can use a busywait flag to
implement the synchronization strategy.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
On a system with multiple CPU cores, when the system is powered on,
multiple cores may start running simultaneously. In this case, software
is required to handle the startup logic for multi-core synchronization.
One approach is to use global variables.
however, the global variable region may not have been initialized yet.
In such scenarios, we can use a busywait flag to
implement the synchronization strategy.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit f59510e into apache:master Sep 1, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: arm Issues related to ARM (32-bit) architecture Size: S The size of the change in this PR is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants