public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: root@chaos.analogic.com
Cc: Sriram Narasimhan <nsri@tataelxsi.co.in>, linux-kernel@vger.kernel.org
Subject: Re: Tasklet doubt!
Date: 11 Apr 2003 12:48:36 -0400	[thread overview]
Message-ID: <1050079715.2291.223.camel@localhost> (raw)
In-Reply-To: <Pine.LNX.4.53.0304111242210.8834@chaos>

On Fri, 2003-04-11 at 12:46, Richard B. Johnson wrote:

> You only need GFP_ATOMIC for stuff allocated and freed when the
> interrupts are off like in ISRs.

Not just when the interrupts are off but whenever you cannot sleep.

In most interrupt handlers, interrupts are enabled anyhow (except the
current line which is masked out -- but the interrupt system itself is
on i.e. sti is set).  But they cannot sleep.

	Robert Love


      reply	other threads:[~2003-04-11 16:37 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
2003-04-11 16:45 ` Jeff Garzik
2003-04-11 16:46 ` Richard B. Johnson
2003-04-11 16:48   ` Robert Love [this message]

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=1050079715.2291.223.camel@localhost \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nsri@tataelxsi.co.in \
    --cc=root@chaos.analogic.com \
    /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