The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: ptb@lab.it.uc3m.es (Peter T. Breuer)
To: Christoph Hellwig <hch@infradead.org>, linux-kernel@vger.kernel.org
Subject: Re: can kfree sleep?
Date: Sun, 21 Nov 2004 23:30:38 +0100	[thread overview]
Message-ID: <200411212230.iALMUcC17182@inv.it.uc3m.es> (raw)
In-Reply-To: <20041121211451.GA12826@infradead.org>

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 ...)?

:)

Peter

  reply	other threads:[~2004-11-21 22:31 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 [this message]
2004-11-22  5:41       ` Christoph Hellwig
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=200411212230.iALMUcC17182@inv.it.uc3m.es \
    --to=ptb@lab.it.uc3m.es \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /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