Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#142 closed enhancement (fixed)

User Extension context switch callout cost is high.

Reported by: Chris Johns Owned by: Joel Sherrill
Priority: lowest Milestone: 2
Component: score Version: unknown
Severity: minor Keywords:
Cc: bugs@…, chrisj@… Blocked By:
Blocking:

Description

The context switch callout overhead is determined by the
number registered user extensions. If most of these have
no context switch handler defined they should not be
scanned.

The defined switch handlers should be maintained in a separate
array that is packed and this array is checked each
context switch.

Release:
cvs-head

Attachments (1)

tswitch-speedup.diff (8.1 KB) - added by Chris Johns on 12/03/06 at 13:31:13.
tswitch-speedup.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on 04/08/02 at 16:28:03 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: analyzed->closed
State-Changed-Why: Chris' patch committed. Thanks.

Changed on 12/03/06 at 13:31:13 by Chris Johns

Attachment: tswitch-speedup.diff added

tswitch-speedup.diff

Note: See TracTickets for help on using tickets.