[PATCH] Enforce ramdisk size

Andy Whitcroft apw at canonical.com
Fri Apr 23 10:56:54 UTC 2010


On Fri, Apr 23, 2010 at 11:16:35AM +0300, Amit Kucheria wrote:
> Ramdisk should be 64M.
> 
> From 2fb905f77928f34445ab1dc663dccfa9482d80c2 Mon Sep 17 00:00:00 2001
> Message-Id: <2fb905f77928f34445ab1dc663dccfa9482d80c2.1272010209.git.amit.kucheria at canonical.com>
> From: Amit Kucheria <amit.kucheria at canonical.com>
> Date: Fri, 23 Apr 2010 11:09:01 +0300
> Subject: [PATCH] UBUNTU: [Config] Enforce ramdisk size
> 
> ramdisk size should be 64M for all flavours.
> 
> Signed-off-by: Amit Kucheria <amit.kucheria at canonical.com>
> ---
>  debian/config/enforce |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/debian/config/enforce b/debian/config/enforce
> index 218c000..f879680 100644
> --- a/debian/config/enforce
> +++ b/debian/config/enforce
> @@ -29,3 +29,6 @@ value CONFIG_USB_DEVICEFS n
>  # upstart requires DEVTMPFS be enabled and mounted by default.
>  value CONFIG_DEVTMPFS y
>  value CONFIG_DEVTMPFS_MOUNT y
> +
> +# Ramdisk size should be a minimum of 64M
> +value CONFIG_BLK_DEV_RAM_SIZE 65536

Yep, this would have saved us from having to do this post release for
mvl-dove.

Acked-by: Andy Whitcroft <apw at canonical.com>

-apw




More information about the kernel-team mailing list