From patchwork Tue Jan 4 22:10:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Salveti de Araujo X-Patchwork-Id: 77595 X-Patchwork-Delegate: tim.gardner@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id DCDD0B6F2B for ; Thu, 6 Jan 2011 00:26:31 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1PaTNW-0008HB-6h; Wed, 05 Jan 2011 13:26:14 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1PaF5B-0003hh-EJ for kernel-team@lists.ubuntu.com; Tue, 04 Jan 2011 22:10:21 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1PaF5B-0004cr-CK; Tue, 04 Jan 2011 22:10:21 +0000 Received: from [201.82.72.47] (helo=localhost.localdomain) by hutte.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1PaF5A-0004gS-SO; Tue, 04 Jan 2011 22:10:21 +0000 From: Ricardo Salveti de Araujo To: kernel-team@lists.ubuntu.com Subject: [Maverick][ti-omap4][SRU][PATCH] UBUNTU: [Config] enabling CONFIG_TASK_ options for iotop to work Date: Tue, 4 Jan 2011 20:10:02 -0200 Message-Id: <1294179002-19038-1-git-send-email-ricardo.salveti@canonical.com> X-Mailer: git-send-email 1.7.1 X-Mailman-Approved-At: Wed, 05 Jan 2011 13:26:12 +0000 Cc: Ricardo Salveti de Araujo X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com SRU Justification: Impact: With linux-image-omap4 kernel the user is unable to use tools like 'iotop', as some important config options are missing for it to work. Fix: It requires kernel support for CONFIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING and CONFIG_TASK_XACCT. All these config settings are already enabled by default at the master branch (e.g. omap 3), but are missing at the ti-omap4 one. Testcase: With these config options enabled the user is able to open 'iotop' and see what process is consuming more I/O from his system. BugLink: http://launchpad.net/bugs/694461 CONFIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING and CONFIG_TASK_XACCT are needed for iotop to work. All these options are already enabled at the master branch, but were missing at the ti-omap4 one. Signed-off-by: Ricardo Salveti de Araujo Acked-by: Stefan Bader --- debian.ti-omap4/config/config.common.ubuntu | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian.ti-omap4/config/config.common.ubuntu b/debian.ti-omap4/config/config.common.ubuntu index b469f32..d797272 100644 --- a/debian.ti-omap4/config/config.common.ubuntu +++ b/debian.ti-omap4/config/config.common.ubuntu @@ -2531,8 +2531,9 @@ CONFIG_TABLET_USB_GTCO=m CONFIG_TABLET_USB_KBTAB=m CONFIG_TABLET_USB_WACOM=m CONFIG_TASKSTATS=y -# CONFIG_TASK_DELAY_ACCT is not set -# CONFIG_TASK_XACCT is not set +CONFIG_TASK_DELAY_ACCT=y +CONFIG_TASK_IO_ACCOUNTING=y +CONFIG_TASK_XACCT=y # CONFIG_TCG_TPM is not set CONFIG_TCP_CONG_ADVANCED=y CONFIG_TCP_CONG_BIC=m