-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Kernelpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Reported by Benjamin Walsh:
Searching a wait queue for a kernel object to determine where to insert a waiting thread (based on its priority) is potentially very inefficient. Providing a configuration option that creates a separate queue for each possible thread priority would allow the thread to simply be appended to the queue for its associated priority, without the need for searching. (Of course, this forces the kernel to do additional work to allow it to quickly identify the highest priority non-empty queue when it wants to service the highest priority waiting thread.)
(Imported from Jira ZEP-915)
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Kernelpriority: mediumMedium impact/importance bugMedium impact/importance bug