From: Arjan van de Ven <arjan@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 09:18:45 +0100 [thread overview]
Message-ID: <1101111524.2813.18.camel@laptop.fenrus.org> (raw)
In-Reply-To: <200411212230.iALMUcC17182@inv.it.uc3m.es>
> > 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() is not allowed to be called from irq context, and since it can do cross cpu IPI's, you have to generally be careful with it.
next prev parent reply other threads:[~2004-11-22 8:18 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
2004-11-22 8:18 ` Arjan van de Ven [this message]
-- 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=1101111524.2813.18.camel@laptop.fenrus.org \
--to=arjan@infradead.org \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).