Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754473AbcDYKuB (ORCPT ); Mon, 25 Apr 2016 06:50:01 -0400 Received: from mail-pa0-f68.google.com ([209.85.220.68]:35349 "EHLO mail-pa0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754392AbcDYKt6 (ORCPT ); Mon, 25 Apr 2016 06:49:58 -0400 Date: Mon, 25 Apr 2016 16:19:48 +0530 From: Afzal Mohammed To: Zhang Long Cc: mingo@redhat.com, peterz@infradead.org, linux-kernel@vger.kernel.org, "Zhang, Yanmin" Subject: Re: [PATCH] sched: don't output cpu sched info by default Message-ID: <20160425104948.GA4637@afzalpc> References: <571DA569.5040701@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <571DA569.5040701@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 629 Lines: 20 Hi, On Mon, Apr 25, 2016 at 01:04:41PM +0800, Zhang Long wrote: > Android userspace debug prcoess might dump system info by sysrq. > One info is of cpu sched. Usually, one thread has one line dump. > Such log is huge sometimes and such dumping spends lots of time > and make the system worse. Sometimes, watchdog resets the system > in the end. > > The patch fixes it by dumping cpu sched info only when > sched_debug_enabled is true. Doesn't "sched: don't dump sched debug info in SysRq-W" currently in tip/sched/core help ?, http://lkml.kernel.org/r/1459777322-30902-1-git-send-email-rabin.vincent@axis.com Regards afzal