linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Ming Liu" <eemingliu@hotmail.com>
To: jrocnuck@hotmail.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: how to reserve memory in linux?
Date: Sun, 22 Oct 2006 11:21:59 +0000	[thread overview]
Message-ID: <BAY110-F1443E16DEC18B89BFA5881B2030@phx.gbl> (raw)
In-Reply-To: <BAY117-F26E839E935D9A3C03E365EC8020@phx.gbl>

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  

  reply	other threads:[~2006-10-22 11:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-20 14:27 how to reserve memory in linux? Ming Liu
2006-10-21  5:15 ` a sudheer
2006-10-21 14:22   ` Ming Liu
2006-10-21 17:48     ` Eric Nuckols
2006-10-22 11:21       ` Ming Liu [this message]
2006-10-23  0:20         ` Eric Nuckols
2006-10-22  0:36     ` Michael Richardson
2006-10-22  6:48     ` Rahul
2006-10-22 11:40       ` Ming Liu

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=BAY110-F1443E16DEC18B89BFA5881B2030@phx.gbl \
    --to=eemingliu@hotmail.com \
    --cc=jrocnuck@hotmail.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).