Re: [PATCH v2] kdb: Use newer api for tasklist scanning

2020-09-09 Thread Daniel Thompson
On Mon, Sep 07, 2020 at 01:32:06PM -0700, Davidlohr Bueso wrote: > This kills using the do_each_thread/while_each_thread combo to > iterate all threads and uses for_each_process_thread() instead, > maintaining semantics. while_each_thread() is ultimately racy > and deprecated; although in this par

[PATCH v2] kdb: Use newer api for tasklist scanning

2020-09-07 Thread Davidlohr Bueso
This kills using the do_each_thread/while_each_thread combo to iterate all threads and uses for_each_process_thread() instead, maintaining semantics. while_each_thread() is ultimately racy and deprecated; although in this particular case there is no concurrency so it doesn't matter. Still lets tri