Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1138063ybh; Sat, 14 Mar 2020 19:05:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsr5o0p/7aFmLBxJ0xrIMoBEyQpQYOMQotVPeCFSVkNg4ugDtKd4irlbpw+NVh1xJUatRK1 X-Received: by 2002:aca:d882:: with SMTP id p124mr12703569oig.178.1584237936992; Sat, 14 Mar 2020 19:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584237936; cv=none; d=google.com; s=arc-20160816; b=tEO96gqQvNsbhfSJ/AYbjNsUUbccL9Zvg1slv7rQgIPYAdIkaDDoKTSnZEJvQ+Hlf4 2Sb0iZvsNwiAgVbJV7O4El34hsgfFEciug+isLGmgutxszgNUnIE3ebKPB/ODYeJ1ltn yDqitSKsCTREeCmTMbN1gxh8vbDfszIXTZZ6WNp+Z0vPBuIKPi1FYsK8Sht+uksebiB2 IWm0FllZ5/ki5Kz7RHfSot8io1M/vUFxQMc0ybd8VvyOtFieiiA4MIXYTQSi4R/ANqvq MTE/o0B0iCHYwbDw9eC1lwR+Tn85nw7EjyjNVqwu851gEEriRUnBTI0IOFT6sdBNbGdz tg3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Z2AhXSUIT+IMTMxmJ9lb5va1ZBT/hzXZX1t2LTy6wGk=; b=NMr+yW6kYM8qODq00vloWdieC+fCBAHUYKdr0NCYEGmv5IX8QaQYdLOksbO+Yp0x+E zjZSeIL5BvAi6ZOZpSNLHTYVeDLCQ+7h4p9B6zgvOwilCaxgQqhan6UrotkbjSbBTq3u EJB+n1WJl9SH7nqwSahoB6uJBQqzldoJnRhYwRt0+lqIcVq1Rei9VgykZkFqWKHl+EBR mxLMt3B8dGcZ00+rsa1YilHbXgSdZNO/Zv6fG5uT8aHtZDcWoZk1acTGEKZ6HMRjMyes Uv2RBPD5G/hyrQHkO3p13jp0tH7jdZ0xo8NAXlEBjTVyGyhz5NsuANHKxKFlioirW3AM XL5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2si6960210otr.30.2020.03.14.19.05.25; Sat, 14 Mar 2020 19:05:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727612AbgCOCEq (ORCPT + 99 others); Sat, 14 Mar 2020 22:04:46 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:54034 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726757AbgCOCEo (ORCPT ); Sat, 14 Mar 2020 22:04:44 -0400 Received: from fsav107.sakura.ne.jp (fsav107.sakura.ne.jp [27.133.134.234]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 02E4RG0I007339; Sat, 14 Mar 2020 13:27:16 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav107.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav107.sakura.ne.jp); Sat, 14 Mar 2020 13:27:16 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav107.sakura.ne.jp) Received: from [192.168.1.9] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 02E4RFiB007324 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Mar 2020 13:27:15 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: [PATCH] kernel/hung_task.c: Introduce sysctl to print all traces when a hung task is detected To: Kees Cook , "Guilherme G. Piccoli" Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, mcgrof@kernel.org, yzaikin@google.com, tglx@linutronix.de, kernel@gpiccoli.net References: <20200310155650.17968-1-gpiccoli@canonical.com> <202003132011.8143A71FE@keescook> From: Tetsuo Handa Message-ID: Date: Sat, 14 Mar 2020 13:27:13 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <202003132011.8143A71FE@keescook> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/03/14 12:12, Kees Cook wrote: > On Fri, Mar 13, 2020 at 02:23:37PM -0300, Guilherme G. Piccoli wrote: >> Kees / Testsuo, are you OK with this patch once I resend with the >> suggestions you gave me? > > I think so, yes. Send a v2 (to akpm with us in CC). > >> Is there anybody else I should loop in the patch that should take a >> look? Never sent sysctl stuff before, sorry if I forgot somebody heheh > > akpm usually takes these kinds of things. > Well, maybe sysctl_hung_task_all_cpu_backtrace = 1 by default is better for compatibility? Please CC or BCC kernel-testing people so that they can add hung_task_all_cpu_backtrace=1 kernel command line parameter to their testing environments if sysctl_hung_task_all_cpu_backtrace = 0 by default.