Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751798AbcDZBEs (ORCPT ); Mon, 25 Apr 2016 21:04:48 -0400 Received: from mga14.intel.com ([192.55.52.115]:15196 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750750AbcDZBEq convert rfc822-to-8bit (ORCPT ); Mon, 25 Apr 2016 21:04:46 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,534,1455004800"; d="scan'208";a="962628798" From: "Zhang, Yanmin" To: Afzal Mohammed , "Zhang, LongX" CC: "mingo@redhat.com" , "peterz@infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] sched: don't output cpu sched info by default Thread-Topic: [PATCH] sched: don't output cpu sched info by default Thread-Index: AQHRnq4y1Y2Dq4Qho0Cdyg6VBLQKkZ+Z/OYAgAFzvmA= Date: Tue, 26 Apr 2016 01:04:13 +0000 Message-ID: <144086DDB7BB6D429C79280EB1C804D40AB765C4@SHSMSX103.ccr.corp.intel.com> References: <571DA569.5040701@intel.com> <20160425104948.GA4637@afzalpc> In-Reply-To: <20160425104948.GA4637@afzalpc> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1020 Lines: 31 Thanks for the pointer. We didn't notice that. That patch also fixes the issue indeed. Yanmin -----Original Message----- From: Afzal Mohammed [mailto:afzal.mohd.ma@gmail.com] Sent: Monday, April 25, 2016 6:50 PM To: Zhang, LongX 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 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