git: kernel - Fix cpu_rotator in lwkt_alloc_thread()

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 27 19:41:44 PDT 2017


commit 5dd85b08610a7600e509f3598575e2e04de8787e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 27 19:40:13 2017 -0700

    kernel - Fix cpu_rotator in lwkt_alloc_thread()
    
    * The cpu and rotator are signed.  Use an unsigned modulo to ensure
      that the resulting cpu is properly ranged.

Summary of changes:
 sys/kern/lwkt_thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5dd85b08610a7600e509f3598575e2e04de8787e


-- 
DragonFly BSD source repository



More information about the Commits mailing list