From: Christoph Hellwig <hch@infradead.org>
To: "Peter T. Breuer" <ptb@lab.it.uc3m.es>
Cc: Christoph Hellwig <hch@infradead.org>, linux-kernel@vger.kernel.org
Subject: Re: can kfree sleep?
Date: Mon, 22 Nov 2004 05:41:12 +0000 [thread overview]
Message-ID: <20041122054112.GA15773@infradead.org> (raw)
In-Reply-To: <200411212230.iALMUcC17182@inv.it.uc3m.es>
On Sun, Nov 21, 2004 at 11:30:38PM +0100, Peter T. Breuer wrote:
> In article <20041121211451.GA12826@infradead.org> you wrote:
> > On Sun, Nov 21, 2004 at 01:10:38PM -0800, Andrew Morton wrote:
> > > Nope. All memory freeing codepaths are atomic and may be called from any
> > > context except NMI handlers.
> >
> > Not true for vfree()
>
> My interest at the moment is in what can sleep and what cannot sleep.
> Are you saying that vfree can sleep or that vfree cannot be called from
> at least one other context in addition to the NMI handler context (from
> which it cannot be called ...)?
vfree can't sleep, but it can't be called from every context.
next prev parent reply other threads:[~2004-11-22 5:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-21 12:23 can kfree sleep? Peter T. Breuer
2004-11-21 21:10 ` Andrew Morton
2004-11-21 21:14 ` Christoph Hellwig
2004-11-21 22:30 ` Peter T. Breuer
2004-11-22 5:41 ` Christoph Hellwig [this message]
2004-11-22 8:18 ` Arjan van de Ven
-- strict thread matches above, loose matches on Subject: below --
2004-11-21 18:56 Manfred Spraul
2004-11-21 20:51 ` Peter T. Breuer
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=20041122054112.GA15773@infradead.org \
--to=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ptb@lab.it.uc3m.es \
/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.