From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752255AbcHHMUW (ORCPT ); Mon, 8 Aug 2016 08:20:22 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:46246 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751670AbcHHMUU (ORCPT ); Mon, 8 Aug 2016 08:20:20 -0400 Date: Mon, 8 Aug 2016 14:20:14 +0200 From: Peter Zijlstra To: Oleg Nesterov Cc: Andrew Morton , Dave Anderson , Ingo Molnar , "Paul E. McKenney" , Wang Shu , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] introduce for_each_process_thread_{break,continue}() helpers Message-ID: <20160808122014.GE6879@twins.programming.kicks-ass.net> References: <20160725162332.GA23935@redhat.com> <20160725162348.GA23947@redhat.com> <20160802115850.GI6862@twins.programming.kicks-ass.net> <20160803202609.GA11419@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160803202609.GA11419@redhat.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.