Conversation
| * This assert makes sure that there always exist an element in the | ||
| * Queue when we start the queue traversal. | ||
| */ | ||
| _Assert( !_Processor_mask_Is_zero( &strong_node->Affinity ) ); |
There was a problem hiding this comment.
Would it be a bug for that to happen, or is it possible an application somehow specifies this behavior?
There was a problem hiding this comment.
According to the paper, it should be acceptable. The node(Tnew) would remain unassigned. So I have made some changes, please check the latest commit. These changes now allow for having a node with empty affinity set. But, having a node with empty affinity set does not make sense, since at the end of Enqueue function, if the newly arrived node is not scheduled, it asks for help - which checks for the lowest scheduled directly reachable node - which cannot be checked if the node has an empty affinity set. Thus it does not matter whether we have an assert here or not. I have removed the assert for now.
1acb7cd to
eacf53f
Compare
ddc43b1 to
00427da
Compare
No description provided.