Module Name:    src
Committed By:   ryo
Date:           Tue Feb 23 14:50:33 UTC 2021

Modified Files:
        src/sys/arch/aarch64/aarch64: idle_machdep.S

Log Message:
Just a few optimizations.

- in cpu_idle(), ci_intr_depth is always 0, so there is no need to fetch for 
increment or conditional branch.
- curcpu() is immutable in idle lwp, there is no need to consider KPREEMPT. 
Therefore, get curcpu() first and keep using it.
- add more comment.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/aarch64/aarch64/idle_machdep.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to