From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Sriram Narasimhan <nsri@tataelxsi.co.in>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Tasklet doubt!
Date: Fri, 11 Apr 2003 12:46:27 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.53.0304111242210.8834@chaos> (raw)
In-Reply-To: <3E96EAF5.4060609@tataelxsi.co.in>
On Fri, 11 Apr 2003, Sriram Narasimhan wrote:
> Hello,
>
> How much of memory can be allocated from a tasklet ? [ kmalloc
> (GFP_ATOMIC) ].
>
> I was able to allocate upto 2.5 MB. But I would like to allocate upto
> 8MB. Is this possible?
>
> The physical RAM limit is 64 MB. I am running 2.4.7-10 RH 7.2 on i386.
>
> Any suggestions or pointers could be very helpful.
>
> Thank you.
> Regards,
> Sriram
Maybe you do not have to dynamically allocate memory? You
can allocate kmalloc(GFP_KERNEL) during initialization
and only free it when you remove a module. That way, it's
always there. Such RAM is still okay for interrupts because
kernel RAM is never swapped out. You only need GFP_ATOMIC for
stuff allocated and freed when the interrupts are off like
in ISRs.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.
next prev parent reply other threads:[~2003-04-11 16:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-11 16:19 Sriram Narasimhan
2003-04-11 16:31 ` Robert Love
2003-04-11 16:45 ` Jeff Garzik
2003-04-11 16:46 ` Richard B. Johnson [this message]
2003-04-11 16:48 ` Robert Love
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=Pine.LNX.4.53.0304111242210.8834@chaos \
--to=root@chaos.analogic.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nsri@tataelxsi.co.in \
/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®