Allocating continuous memory of 300kb in kernel

Dilip Patel dilip.patel at einfochips.com
Tue Sep 23 08:41:43 CDT 2008


Hi Dilip,

You can use "__get_free_pages" kernel api to allocate memeory of big chunk.
It allocates physically contigeous memory area.

For reffrence, see the "linux/drivers/media/video/davinci/davinci_display.c" 
file.

Regrads,
Dilip

> Message: 1
> Date: Mon, 22 Sep 2008 16:31:22 +0530
> From: "dilip" <dilipkumar at tataelxsi.co.in>
> Subject: Allocating continuous memory of 300kb in kernel
> To: <davinci-linux-open-source at linux.davincidsp.com>
> Message-ID: <CGEPKHMLHLGNGLNJEFGHMEFJCEAA.dilipkumar at tataelxsi.co.in>
> Content-Type: text/plain; charset="us-ascii"
>
> hi all,
>      i want to know how to Allocate contiguous memory of 300kb in kernel.
> Let me know if any one knows.
>
> Thanks and Regards,
> dilip
>
> The information contained in this electronic message and any attachments 
> to this message are intended for the exclusive use of the addressee(s) and 
> may contain proprietary, confidential or privileged information. If you 
> are not the intended recipient, you should not disseminate, distribute or 
> copy this e-mail. Please notify the sender immediately and destroy all 
> copies of this message and any attachments contained in it.


-- 
_____________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
__________________________________________________________________________
 



More information about the Davinci-linux-open-source mailing list