Uploaded image for project: 'Zephyr'
  1. Zephyr
  2. ZEP-989

Cache next ready thread instead of finding out the long way

    Details

      Description

      As a Zephyr user, I want the thread transitions to be as fast as possible to minimize context switch time, especially when returning from an interrupt.

      Currently, when returning from an interrupt to a preempt thread, the kernel has to figure out if a new thread has to be scheduled in. That information is already known at the moment the thread gets put in the ready queue. It could be cached at that time instead of being queried the long way where exiting an interrupt or when effectively causing the context switch.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              ajnebnim Benjamin Walsh
              Reporter:
              ajnebnim Benjamin Walsh
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified