-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
risc-v: Accelerate schedule by percpu #15081
base: master
Are you sure you want to change the base?
Conversation
[Experimental Bot, please feedback here] No, this PR does not fully meet the NuttX requirements. While it provides a summary of the change and mentions testing, it lacks crucial details. Here's what's missing:
The PR needs to be significantly more detailed to be considered complete. Provide the missing information to ensure reviewers can properly assess the change. |
fe66e6f
to
ba568f6
Compare
92d1a27
to
fdb91ee
Compare
21549c5
to
e0334c0
Compare
Fetch TCB info in percpu scratch register for better performance. Signed-off-by: Huang Qi <[email protected]>
* to store the current task pointer. | ||
*/ | ||
|
||
#ifndef CONFIG_RISCV_PERCPU_SCRATCH |
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.
why not always enable CONFIG_RISCV_PERCPU_SCRATCH
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.
Sure, SCRATCH register is always available, I'll try to remove this option and refine relative logic first
@no1wudi let's continue on this work? |
Summary
Fetch TCB info in percpu scratch register for better performance.
Similar to 948ac9b
Impact
RISC-V arch level code
Testing
ostest