From: Andrew Morton <akpm@digeo.com>
To: Sylvain Pasche <sylvain_pasche@yahoo.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.41 isofs patch to avoid "bad: scheduling while atomic!"
Date: Thu, 10 Oct 2002 14:55:12 -0700 [thread overview]
Message-ID: <3DA5F740.3564A111@digeo.com> (raw)
In-Reply-To: 15781.47072.335973.295982@yahoo.fr
Sylvain Pasche wrote:
>
> --- linux-2.5.41/fs/isofs/dir.c_old 2002-10-10 19:12:19.000000000 +0200
> +++ linux-2.5.41/fs/isofs/dir.c 2002-10-10 19:13:26.000000000 +0200
> @@ -256,7 +256,7 @@
>
> lock_kernel();
>
> - tmpname = (char *) __get_free_page(GFP_KERNEL);
> + tmpname = (char *) __get_free_page(GFP_KERNEL | GFP_ATOMIC);
> if (!tmpname)
> return -ENOMEM;
Not sure about the scheduling while atomic thing, but it is returning
with the lock held. I'll fix that up.
prev parent reply other threads:[~2002-10-10 21:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 17:24 2.5.41 isofs patch to avoid "bad: scheduling while atomic!" Sylvain Pasche
2002-10-10 21:25 ` Robert Love
2002-10-10 21:55 ` Andrew Morton [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=3DA5F740.3564A111@digeo.com \
--to=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sylvain_pasche@yahoo.fr \
/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.