Closed chenshanpei closed 2 years ago
@chenshanpei , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/18778
@chenshanpei , The CI test is completed, please check result:
Test Case | Test Result | |
---|---|---|
schedule_test | x86_64 | :white_check_mark: SUCCESS |
public_var_test | :white_check_mark: SUCCESS | |
var_uniformity_test | :white_check_mark: SUCCESS | |
cpu_throttle_test | :white_check_mark: SUCCESS | |
domain_rebuild_test | :white_check_mark: SUCCESS | |
sched_syscall_test | :white_check_mark: SUCCESS | |
mem_pressure_test | :white_check_mark: SUCCESS | |
schedule_test | aarch64 | :white_check_mark: SUCCESS |
Congratulations, your test job passed!
LGTM
…adability
Some __init functions are configured by the CONFIG_XXX, for the fallowing example:
ifdef CONFIG_SMP
void __init sched_init_smp(void) --> A { }
else
void __init sched_init_smp(void) --> B { }
endif
If CONFIG_SMP is enabled, only the first line of function B is deleted, which is unfriendly to understanding code. This patch merges the whole function into one line firstly, then delete it.
Signed-off-by: Shanpei Chen shanpeic@linux.alibaba.com