-
Notifications
You must be signed in to change notification settings - Fork 1.5k
In multicore system, We add a busywait flag to synchronize the startup of other cores. #16928
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
Conversation
@wangchdo could you review whether this patch could fix your problem? |
There was a problem hiding this 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
There was a problem hiding this 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
@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>
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