[Maverick][ti-omap4][SRU][PATCH] UBUNTU: [Config] enabling CONFIG_TASK_ options for iotop to work

Ricardo Salveti de Araujo ricardo.salveti at canonical.com
Tue Jan 4 22:10:02 UTC 2011


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 <ricardo.salveti at canonical.com>
---
 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
-- 
1.7.1





More information about the kernel-team mailing list