From: cranium2003 <cranium2003@yahoo.com>
To: Chris Friesen <cfriesen@nortel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel memory usage any restrictions?
Date: Fri, 27 May 2005 18:56:50 -0700 (PDT) [thread overview]
Message-ID: <20050528015650.75229.qmail@web33001.mail.mud.yahoo.com> (raw)
In-Reply-To: 6667
hello,
--- Chris Friesen <cfriesen@nortel.com> wrote:
> cranium2003 wrote:
> > hello,
> > Is there any restricition on using
> > kernel's memory? also if i require to use some
> kernel
> > memory say 625kB by allocating that in GFP_ATOMIC
> mode
>
> Your call will almost certainly fail. I think
> kmalloc will only give
> you up to 128KB, and even that might be tricky to do
> with GFP_ATOMIC.
>
NO I mean the source code total require 625kB
not i require a single call of kmalloc with GFP_ATOMIC
but many calls whose total sum will be around 625kB.
> For larger chunks of memory, you can use vmalloc()
> or reserve it
> statically at compile time.
>
> Chris
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next reply other threads:[~2005-05-28 1:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-28 1:56 cranium2003 [this message]
2005-05-28 2:16 ` Steven Rostedt
-- strict thread matches above, loose matches on Subject: below --
2005-05-27 18:18 cranium2003
2005-05-27 18:46 ` Chris Friesen
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=20050528015650.75229.qmail@web33001.mail.mud.yahoo.com \
--to=cranium2003@yahoo.com \
--cc=cfriesen@nortel.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®