[mvl-dove] UBUNTU: [Config] increase CONFIG_BLK_DEV_RAM_SIZE to 65536
Eric Miao
eric.miao at canonical.com
Wed Apr 21 21:44:59 UTC 2010
On Thu, Apr 22, 2010 at 4:35 AM, Colin Ian King
<colin.king at canonical.com> wrote:
> On Tue, 2010-04-20 at 11:29 +0800, Eric Miao wrote:
>> commit b224640b7e8b201c679dab961de9b36dc832803a
>> Author: Eric Miao <eric.miao at canonical.com>
>> Date: Tue Apr 20 10:06:27 2010 +0800
>>
>> UBUNTU: [Config] increase CONFIG_BLK_DEV_RAM_SIZE to 65536
>>
>> BugLink: http://bugs.launchpad.net/bugs/563679
>>
>> +CONFIG_BLK_DEV_RAM_COUNT=16
>> +CONFIG_BLK_DEV_RAM_SIZE=65536
>>
>> Signed-off-by: Eric Miao <eric.miao at canonical.com>
>>
>> diff --git a/debian.mvl-dove/config/config.common.ubuntu
>> b/debian.mvl-dove/config/config.common.ubuntu
>> index 6f859b4..6d15247 100644
>> --- a/debian.mvl-dove/config/config.common.ubuntu
>> +++ b/debian.mvl-dove/config/config.common.ubuntu
>> @@ -265,8 +265,8 @@ CONFIG_BLK_DEV_LOOP=y
>> CONFIG_BLK_DEV_MD=m
>> CONFIG_BLK_DEV_NBD=m
>> CONFIG_BLK_DEV_RAM=y
>> -CONFIG_BLK_DEV_RAM_COUNT=1
>> -CONFIG_BLK_DEV_RAM_SIZE=4096
>> +CONFIG_BLK_DEV_RAM_COUNT=16
>> +CONFIG_BLK_DEV_RAM_SIZE=65536
>> CONFIG_BLK_DEV_SD=y
>> CONFIG_BLK_DEV_SR=m
>> # CONFIG_BLK_DEV_SR_VENDOR is not set
>>
> Why are we also increasing the count from 1 to 16?
>
Loic pointed out the potential issue of RAM_SIZE being too small to cause
d-i initrds to fail.
The DEV_RAM_COUNT is actually sync'ed with x86, so it will benefit both
ARM and x86 if this can be reduced.
More information about the kernel-team
mailing list