[Maverick][ti-omap4][SRU][PATCH] UBUNTU: [Config] enabling CONFIG_TASK_ options for iotop to work
Tim Gardner
tim.gardner at canonical.com
Wed Jan 5 14:21:15 UTC 2011
On 01/04/2011 03:10 PM, Ricardo Salveti de Araujo wrote:
> 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
applied, pushed, and uploaded
--
Tim Gardner tim.gardner at canonical.com
More information about the kernel-team
mailing list