Skip to content
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

Optimize interrupt return code on ARC. #2716

Closed
zephyrbot opened this issue Nov 7, 2016 · 2 comments
Closed

Optimize interrupt return code on ARC. #2716

zephyrbot opened this issue Nov 7, 2016 · 2 comments
Labels
area: ARC ARC Architecture area: Kernel Enhancement Changes/Updates/Additions to existing features priority: low Low impact/importance bug
Milestone

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented Nov 7, 2016

Reported by Benjamin Walsh:

There are too many pushes and pops on the stack when deciding which thread to run when exiting an interrupt. Also, see if _is_next_thread_current and _get_next_ready_thread could not be folded together. Or maybe write _is_next_thread_current in assembly.

(Imported from Jira ZEP-1230)

@zephyrbot
Copy link
Collaborator Author

by Deli Niu:

From the view of PnP, it could be verified by latency benchmark.

  1. On quark_se_c1000_devboard, run benchmark in folder /tests/legecy/benchmark/latency_measure/
  2. Get the latency time of switching ISR back to interrupted task.

New:
Measure time to switch from ISR back to interrupted task switching time is 259 tcs = 8093 nsec

Old:
Measure time to switch from ISR back to interrupted task switching time is 269 tcs = 8406 nsec

@zephyrbot
Copy link
Collaborator Author

by Mark Linkmeyer:

Fixing incorrect priority

@zephyrbot zephyrbot added priority: low Low impact/importance bug area: ARC ARC Architecture area: Kernel Enhancement Changes/Updates/Additions to existing features labels Sep 23, 2017
@zephyrbot zephyrbot added this to the v1.7.0 milestone Sep 23, 2017
@zephyrbot zephyrbot mentioned this issue Sep 23, 2017
49 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARC ARC Architecture area: Kernel Enhancement Changes/Updates/Additions to existing features priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

1 participant