I wonder what is the reason for the following code: /* New entry on the queue */ if (new_priority < old_priority) pinfo->priority = new_priority; Shouldn't we unconditionally honor new_priority given that this is the new entry case? -- Andriy Gapon