git: kernel - Expand cpu_topology_nodes[] array

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 31 21:30:59 PDT 2026


commit 646ee3e1967f04e5af7fe47b041de9ea2c4b4527
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 31 21:29:11 2026 -0700

    kernel - Expand cpu_topology_nodes[] array
    
    * Double the size of the array, which stores nodes as well as leafs
      in the cpu topology tree.  The array was being blown out in early
      boot before if there were more than 128 CPUs.
    
    * Add a KKASSERT() to catch any remaining issue, in case the tree
      winds up being more complex and requires more nodes.
    
    Reported-by: ivadasz

Summary of changes:
 sys/kern/subr_cpu_topology.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/646ee3e1967f04e5af7fe47b041de9ea2c4b4527


-- 
DragonFly BSD source repository


More information about the Commits mailing list