Re: [RFC PATCH 6/6] sparc64: use early_res and nobootmem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/10/2010 02:36 PM, David Miller wrote:
> From: Yinghai Lu <yinghai@xxxxxxxxxx>
> Date: Wed, 10 Mar 2010 14:31:25 -0800
> 
>> they are array based.
>>
>> 1. memmap is not changed after get it from firmware, <could be modified via mem= or memmap=>
>> 2. early_res at first is static array, later it will be relocated to another position if the array is not big enough.
> 
> LMB could do this too with minor modifications.
> 
> Simply make the lmb.memory and lmb.reserved be pointers, and initially
> they point into the static array(s).
> 
> Later the pointers can be repositioned to point to dynamically
> allocated memory.
> 
> So please, for the third time, please show me how LMB with some minor
> modifications is not able to satisfy your needs.

you could do it, 
need to duplicate some functions from early_res.c and fw_memmap.c
esp __check_and_double_early_res, get_free_all_memory_range

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux