From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751954AbbFYSkv (ORCPT ); Thu, 25 Jun 2015 14:40:51 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:35805 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751575AbbFYSkq (ORCPT ); Thu, 25 Jun 2015 14:40:46 -0400 MIME-Version: 1.0 In-Reply-To: <20150625182707.GA15883@naverao1-tp.in.ibm.com> References: <1432537954-26665-1-git-send-email-naveen.n.rao@linux.vnet.ibm.com> <20150625182707.GA15883@naverao1-tp.in.ibm.com> Date: Thu, 25 Jun 2015 11:40:46 -0700 Message-ID: Subject: Re: [PATCH] proc/schedstat: Expose /proc//schedstat if delay accounting is enabled From: Cong Wang To: "Naveen N. Rao" Cc: Balbir Singh , Ingo Molnar , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 25, 2015 at 11:27 AM, Naveen N. Rao wrote: > > The primary issue with CONFIG_SCHEDSTATS is the (slight) additional > overhead it introduces, per Kconfig. Due to this, it is not enabled by > default by some of the distro kernels. > The overhead is same for CONFIG_TASK_DELAY_ACCT since the core sched info code is protected by CONFIG_TASK_DELAY_ACCT or CONFIG_TASK_DELAY_ACCT?