linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Misbah khan <misbah_khan@engineer.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: how to allocate 9MB of memory in kernel ?
Date: Thu, 17 Jul 2008 01:41:03 -0700 (PDT)	[thread overview]
Message-ID: <18504063.post@talk.nabble.com> (raw)
In-Reply-To: <d194b8ce0807170102x4be8b7ccx33a6a09e6129a45b@mail.gmail.com>



In have a sdram of size 9MB which i would map to kernel space (ioremap woul=
d
do that ) the whole 9 MB kernel virtual memory i need to map to the
application , the application would read when driver has complited writing
and vice versa this implimentation would be in a circular buffer type. The
size of my RAM is 128 MB=20



Sylvain Joyeau wrote:
>=20
> Misbah,
>=20
> Please, give some more details about your application: the answer(s)
> heavily depends on the kind of memory you want to allocate: contiguous
> (implied in DMA purpose) or not (for process memory sharing only).
>=20
> --
> sj
>=20
>=20
> 2008/7/17 Misbah khan <misbah_khan@engineer.com>:
>>
>> Hi all,
>>
>> I need to allocate 9 MB of memory in to the kernel space which i need to
>> mmap for the application to access.
>>
>> I need to know what could be the best possible way of doing the same.
>>
>> Please share your experience in this regard .
>>
>> Thank you in advance
>>
>> ----Misbah <><
>> --
>> View this message in context:
>> http://www.nabble.com/how-to-allocate-9MB-of-memory-in-kernel---tp185030=
22p18503022.html
>> Sent from the linuxppc-embedded mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded@ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>
>=20
>=20
>=20
> --=20
> ------------------
> Sylvain JOYEAU
> Freelance Engineer
> Software RT-OS R&D
> sylvain.joyeau@gmail.com
> T=C3=A9l: +33-(0)667 477 052
> "A good idea is one side of the coin. The other side is the practical
> usefulness". J. Liedke.
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>=20
>=20

--=20
View this message in context: http://www.nabble.com/how-to-allocate-9MB-of-=
memory-in-kernel---tp18503022p18504063.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

  reply	other threads:[~2008-07-17  8:41 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17  7:26 how to allocate 9MB of memory in kernel ? Misbah khan
2008-07-17  7:51 ` Marco Stornelli
2008-07-17  8:34   ` Misbah khan
2008-07-17  9:04     ` Marco Stornelli
2008-07-17  7:56 ` Arnd Bergmann
2008-07-17  8:19   ` Misbah khan
2008-07-17  8:24     ` Arnd Bergmann
2008-07-18  4:44   ` Misbah khan
2008-07-18  6:50     ` Marco Stornelli
2008-07-18  8:48       ` Misbah khan
2008-07-18 14:57         ` Timur Tabi
2008-07-18 15:39         ` Arnd Bergmann
2008-07-22  5:23           ` Misbah khan
2008-07-22  6:43             ` Marco Stornelli
2008-07-22  9:31             ` Arnd Bergmann
2008-07-22  9:47               ` Marco Stornelli
2008-07-22 13:22                 ` Misbah khan
2008-07-22 15:12                   ` Arnd Bergmann
2008-07-23  7:30                     ` Misbah khan
2008-07-24  8:33                       ` Misbah khan
2008-07-24  9:31                         ` Arnd Bergmann
2008-07-25  8:43                           ` Misbah khan
2008-07-25  8:50                             ` Arnd Bergmann
2008-08-02 19:13                             ` harihanv
2008-07-23 12:47                     ` Alessandro Rubini
2008-07-17  8:02 ` Sylvain Joyeau
2008-07-17  8:41   ` Misbah khan [this message]
     [not found] <mailman.2280.1216290829.2883.linuxppc-embedded@ozlabs.org>
2008-07-17 20:15 ` Siva Prasad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18504063.post@talk.nabble.com \
    --to=misbah_khan@engineer.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).