Module Name: src Committed By: thorpej Date: Thu May 21 00:39:04 UTC 2020
Modified Files: src/sys/kern: kern_sleepq.c Log Message: In sleepq_insert(), in the SOBJ_SLEEPQ_SORTED case, if there are existing waiters of lower priority, then the new LWP will be inserted in FIFO order with respect to other LWPs of the same priority. However, if all other LWPs are of equal priority to the LWP being inserted, the new LWP would be inserted in LIFO order. Fix this to always insert in FIFO order with respect to equal priority LWPs. OK ad@. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/kern/kern_sleepq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.