request memory from kernel

Mulyadi Santosa mulyadi.santosa at gmail.com
Sat Nov 3 12:11:27 EDT 2012


Hi......

On Sat, Nov 3, 2012 at 9:02 PM, Bizhan Gholikhamseh (bgholikh)
<bgholikh at cisco.com> wrote:
> My question is if I want to put aside some portion of the our platform
> memory (about 300 Mbytes) for couple of our kernel modules, how could I
> achieve this and how to access the dedicated memory for those modules at the
> run time.

after some googling, I think you need to use memory pool for page reservation.

Someone is kind enough to summarize how to use memory pool here:
http://venkateshpnv.blogspot.com/2011/05/memory-allocation-rough-notes-by-chaitu.html

(maybe he's also in kernelnewbies).

Good luck...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list