Re: svn commit: r322942 - head/sys/kern

2017-08-27 Thread Conrad Meyer
On Sun, Aug 27, 2017 at 1:18 AM, Ed Schouten wrote: > Hi Conrad, > > [ Context: I don't understand anything about CPU topologies! ] > > 2017-08-27 7:14 GMT+02:00 Conrad Meyer : >> + while (top->cg_children == 1) { >> + top = &top->cg_child[0]; >> + top->cg_parent

Re: svn commit: r322942 - head/sys/kern

2017-08-27 Thread Ed Schouten
Hi Conrad, [ Context: I don't understand anything about CPU topologies! ] 2017-08-27 7:14 GMT+02:00 Conrad Meyer : > + while (top->cg_children == 1) { > + top = &top->cg_child[0]; > + top->cg_parent = NULL; > + } This only removes layers from the top if th

svn commit: r322942 - head/sys/kern

2017-08-26 Thread Conrad Meyer
Author: cem Date: Sun Aug 27 05:14:48 2017 New Revision: 322942 URL: https://svnweb.freebsd.org/changeset/base/322942 Log: Improve scheduler performance Improve scheduler performance by flattening nonsensical topology layers (layers with only one child don't serve any purpose). This