All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: Sriram Narasimhan <nsri@tataelxsi.co.in>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Tasklet doubt!
Date: 11 Apr 2003 12:31:42 -0400	[thread overview]
Message-ID: <1050078702.2291.218.camel@localhost> (raw)
In-Reply-To: <3E96EAF5.4060609@tataelxsi.co.in>

On Fri, 2003-04-11 at 12:19, Sriram Narasimhan wrote:

> How much of memory can be allocated from a tasklet ? [ kmalloc 
> (GFP_ATOMIC) ].

It depends.  Asking for 2.5MB of GFP_ATOMIC is a lot.

Perhaps you should use the keventd task queue, which runs in process
context and thus sleeps.  You can allocate using kmalloc(GFP_KERNEL) or
even vmalloc().

	Robert Love


  reply	other threads:[~2003-04-11 16:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-11 16:19 Tasklet doubt! Sriram Narasimhan
2003-04-11 16:31 ` Robert Love [this message]
2003-04-11 16:45 ` Jeff Garzik
2003-04-11 16:46 ` Richard B. Johnson
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=1050078702.2291.218.camel@localhost \
    --to=rml@tech9.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.