On Wed Feb 1 20:51:21 2023 +0000, Rémi Bernon wrote:
`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).
If we're concerned about call overhead, maybe we should define an inline helper in winnt.h like for other functions? Doesn't seem like a big deal, but it'd probably make this a bit more readable.