Re: [PATCH] x86/resctrl: Don't stop walking closids when a locksetup group is found

2019-05-30 Thread Reinette Chatre
Hi James, On 5/30/2019 8:57 AM, James Morse wrote: > When a new control group is created __init_one_rdt_domain() walks all > the other closids to calculate the sets of used and unused bits. > > If it discovers a pseudo_locksetup group, it breaks out of the loop. > This means any later closid

[PATCH] x86/resctrl: Don't stop walking closids when a locksetup group is found

2019-05-30 Thread James Morse
When a new control group is created __init_one_rdt_domain() walks all the other closids to calculate the sets of used and unused bits. If it discovers a pseudo_locksetup group, it breaks out of the loop. This means any later closid doesn't get its used bits added to used_b. These bits will then