From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753423AbcGYQXg (ORCPT ); Mon, 25 Jul 2016 12:23:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37239 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752249AbcGYQXe (ORCPT ); Mon, 25 Jul 2016 12:23:34 -0400 Date: Mon, 25 Jul 2016 18:23:32 +0200 From: Oleg Nesterov To: Andrew Morton Cc: Dave Anderson , Ingo Molnar , Peter Zijlstra , "Paul E. McKenney" , Wang Shu , linux-kernel@vger.kernel.org Subject: [PATCH 0/3] introduce for_each_process_thread_{break,continue}() helpers Message-ID: <20160725162332.GA23935@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 25 Jul 2016 16:23:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, IMHO this makes sense in any case, but mostly this is preparation for another change: show_state_filter() should be preemptible. But this needs more discussion, I'll write another email/patch when I fully understand the hard-lockup caused by sysrq-t. Oleg. include/linux/sched.h | 10 ++++++++++ kernel/exit.c | 42 ++++++++++++++++++++++++++++++++++++++++++ kernel/hung_task.c | 41 ++++++++++++++++++++++++----------------- 3 files changed, 76 insertions(+), 17 deletions(-)