Re: request memory from kernel

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

 



Hi......

On Sat, Nov 3, 2012 at 9:02 PM, Bizhan Gholikhamseh (bgholikh)
<bgholikh@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux