On Wed Feb 1 20:38:33 2023 +0000, Zebediah Figura wrote:
Also, this appears to change behaviour in a way orthogonal to the rest of the patch (i.e. changing the threshold for reuse from 0 to 16), so maybe deserves a separate patch?
`RtlQueryDepthSList` takes a bit to call, I wanted to avoid that. With the affinity cache it will matter a bit less, but still.
I think the threshold might be better moved and merged to the next change, as it's purpose is also to avoid starving the shared list (I had this change first before implementing the affinity list, so it helped at that point).