Re: [PATCH 1/3] introduce for_each_process_thread_{break,continue}() helpers

From: Peter Zijlstra
Date: Mon Aug 08 2016 - 08:20:25 EST


On Wed, Aug 03, 2016 at 10:26:09PM +0200, Oleg Nesterov wrote:
> Not sure. I'd like to do something simple for the start. We need to make
> show_state_filter() "preemptible" in any case. And even killable, I think.
> Not only it can trivially trigger the soft-lockups (at least), it can simply
> never finish.

Yeah, no objection raelly. Just make sure to put a comment explaining
the limitation/issues with whatever you descide to go for.