how to reserve memory in linux?

Ming Liu eemingliu at hotmail.com
Sun Oct 22 21:21:59 EST 2006


Dear Eric,

>Have you tried the function
>
>alloc_bootmem_low() early in the boot process in main.c ?
>
Yes, it sounds reasonable. With this function, I can reserve a large amount 
of buffer during booting time. But I think maybe it will be better to put 
this function in the device driver and when booting time, the driver is 
loaded and the memory part is reserved for later use, right?

Thanks for your idea so much. It's really helpful.

Regards
Ming

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn  




More information about the Linuxppc-embedded mailing list