Messages in this thread | | | Date | Fri, 8 Apr 2022 21:16:34 -0700 | Subject | Re: [PATCH -next RFC v2 8/8] sbitmap: wake up the number of threads based on required tags | From | Bart Van Assche <> |
| |
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.
| |