-
Notifications
You must be signed in to change notification settings - Fork 1.5k
risc-v: Accelerate schedule by percpu #15081
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
[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? |
Yes, I am currently doing further code cleanup and will continue with the related work once it's completed. |
Use tp register should be better, let's track it by a new PR |
Summary
Fetch TCB info in percpu scratch register for better performance.
Similar to 948ac9b
Impact
RISC-V arch level code
Testing
ostest