svn commit: r305368 - head/sys/kern

John Baldwin jhb at freebsd.org
Mon Sep 5 17:44:57 UTC 2016


On Sunday, September 04, 2016 12:29:49 AM Mark Johnston wrote:
> Author: markj
> Date: Sun Sep  4 00:29:48 2016
> New Revision: 305368
> URL: https://svnweb.freebsd.org/changeset/base/305368
> 
> Log:
>   Micro-optimize sleepq_signal().
>   
>   Lift a comparison out of the loop that finds the highest-priority thread
>   on the queue.
>   
>   MFC after:	1 week

Could this safely use TAILQ_FOREACH_FROM?

-- 
John Baldwin


More information about the svn-src-all mailing list