Hi Ingo,
I just read the modified changelog in the git-log, and it is
wrong (or maybe my fix is wrong?), I should have explained
the bug clearer. :(
I'm writing this mail to confirm if my thought and fix is
And this is right. CPU domain has only 1 cpu so it does not contribute
The bug is, some sched domains won't be checked in the for loop due
to the bug, so they have no chance to be removed.
In the for loop, we check if the parents domains can be removed:
cur_ptr
|
v
SMT--->MC--->CPU--->NULL
(parent MC is checked and can be removed)
=>
cur_ptr
|
v
SMT--->CPU--->NULL
(break out of the for loop, because cur_ptr->parent == NULL)
so CPU domain won't be checked. When we delete MC domain, the pointer
should not move forwards, so the fix is:
cur_ptr
|
v
--