Re: [RFC PATCH] mm: swap: remove lru drain waiters

2020-06-03 Thread Ahmed S. Darwish
Hi Hillf, For some reason, **all of your posts** from do not appear on lore.kernel.org. Check, for example, https://lore.kernel.org/lkml/?q=hdanton%40sina.com, where thread replies are there but not the actual posts. Just wanted to let you know... Please continue below. On Wed, Jun 03, 2020

Re: [RFC PATCH] mm: swap: remove lru drain waiters

2020-06-03 Thread Sebastian Andrzej Siewior
On 2020-06-01 22:37:34 [+0800], Hillf Danton wrote: > > After updating the lru drain sequence, new comers avoid waiting for > the current drainer, because he is flushing works on each online CPU, > by trying to lock the mutex; the drainer OTOH tries to do works for > those who fail to acquire the

Re: [RFC PATCH] mm: swap: remove lru drain waiters

2020-06-01 Thread Konstantin Khlebnikov
On 01/06/2020 17.37, Hillf Danton wrote: After updating the lru drain sequence, new comers avoid waiting for the current drainer, because he is flushing works on each online CPU, by trying to lock the mutex; the drainer OTOH tries to do works for those who fail to acquire the lock by checking