On 4/8/22 19:17, yukuai (C) wrote:
I think the reason to wake up 'wake_batch' waiters is to make sure wakers will use up 'wake_batch' tags that is just freed, because each wakers should aquire at least one tag. Thus I think if we can make sure wakers will use up 'wake_batch' tags, it's ok to wake up less waiters.
Hmm ... I think it's up to you to (a) explain this behavior change in detail in the commit message and (b) to prove that this behavior change won't cause trouble (I guess this change will cause trouble).
Thanks, Bart.