198 Star 1.1K Fork 422

OpenHarmony / kernel_liteos_a

Open
!22 增加LOS_SpinHeld()排错检查

laokz:spinheld OpenHarmony:master

laokz Created on: 2020-10-16 18:16
hi3518_编译成功
hi3516_编译成功
wifiiot_编译成功
hi3516_debug_编译成功
hi3518_debug_编译成功
wifiiot_debug_编译成功
Reviewer:   Tester: 7387629 wx 43dedfcaf7 1585550518

SMP配置下,.rawLock仅能反映锁是否已锁定,不能区分是谁持有。LOSCFG_KERNEL_SMP_LOCKDEP配置为自旋锁提供了.owner字段,因此应进一步检查属主信息是否正确,以防止bug条件。LOS_SpinHeld()基本都是在LOS_ASSERT保护下调用,因此主要用途是debug,不会影响release版本。

15 comments, 4 participants 7387629 wx 43dedfcaf7 1585550518 7989059 star rain 1599750608 7989137 caoruihong 1601432415

Show action logs Hide action logs
laokz updated description 2020-11-26 11:02
laokz updated title 2020-11-26 11:02
laokz force push code 2020-11-26 10:58
laokz force push code 2020-10-30 11:59
laokz updated description 2020-10-29 16:55
laokz updated title 2020-10-29 16:55
laokz push code 2020-10-22 21:36
laokz push code 2020-10-22 15:48
laokz push code Reset to untested 2020-10-21 21:45
openharmony_ci test passed 2020-10-16 19:52
openharmony_ci added label hi3516_debug_编译成功 2020-10-16 19:52
openharmony_ci added label hi3518_debug_编译成功 2020-10-16 19:51
openharmony_ci added label hi3516_编译成功 2020-10-16 19:50
openharmony_ci added label hi3518_编译成功 2020-10-16 19:50
openharmony_ci added label wifiiot_编译成功 2020-10-16 19:49
openharmony_ci added label wifiiot_debug_编译成功 2020-10-16 19:49
openharmony_ci removed label wifiiot_debug_编译成功 2020-10-16 19:45
openharmony_ci removed label hi3518_debug_编译成功 2020-10-16 19:45
openharmony_ci removed label hi3516_debug_编译失败 2020-10-16 19:45
openharmony_ci removed label hi3516_编译失败 2020-10-16 19:45
openharmony_ci removed label wifiiot_编译成功 2020-10-16 19:45
openharmony_ci removed label hi3518_编译成功 2020-10-16 19:45
laokz push code 2020-10-16 19:42
openharmony_ci added label hi3518_debug_编译成功 2020-10-16 18:32
openharmony_ci added label hi3518_编译成功 2020-10-16 18:30
openharmony_ci added label wifiiot_debug_编译成功 2020-10-16 18:29
openharmony_ci added label hi3516_编译失败 2020-10-16 18:29
openharmony_ci added label hi3516_debug_编译失败 2020-10-16 18:29
openharmony_ci added label wifiiot_编译成功 2020-10-16 18:29
openharmony_ci removed label cla已签署 2020-10-16 18:26
openharmony_ci removed label enhancement 2020-10-16 18:26
laokz assigned tester openharmony_ci 2020-10-16 18:16
laokz assigned reviewer wangmihu 2020-10-16 18:16
laokz assigned reviewer Han 2020-10-16 18:16
laokz set priority to Secondary 2020-10-16 18:16
laokz added label cla已签署 2020-10-16 18:16
laokz added label enhancement 2020-10-16 18:16
Check whether the system can automatically merge this Pull Request...
The Pull Request cannot be automatically merged.
The Pull Request cannot be automatically merged.
Gitee trying to handle conflicts...
The current branch merge status has been updated, continue to operate after refreshing the page
The Pull Request can be automatically merged. , The target branch is a Protect branch and you do not have a merge permission

This Pull Request cannot be merged temporarily. Current status: Unchecked Untested Can auto merge

This Pull Request can be merged after at least 1 reviewers have passed the review and at least 1 testers have passed the test
Merging Pull Request. Wait for a moment, the page will refresh automatically.
C
1
https://git.oschina.net/openharmony/kernel_liteos_a.git
git@git.oschina.net:openharmony/kernel_liteos_a.git
openharmony
kernel_liteos_a
kernel_liteos_a

Search