From: Len Brown <lenb@kernel.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andrew Morton <akpm@linux-foundation.org>,
David Woodhouse <dwmw2@infradead.org>,
Pete MacKay <armlinux@architechnical.net>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Freezer: Fix JFFS2 garbage collector freezing issue (rev. 2)
Date: Tue, 4 Dec 2007 01:30:35 -0500 [thread overview]
Message-ID: <200712040130.35299.lenb@kernel.org> (raw)
In-Reply-To: <200712040111.10494.rjw@sisk.pl>
Applied to suspend branch.
thanks,
-len
On Monday 03 December 2007 19:11, Rafael J. Wysocki wrote:
> [This is a replacement for
> freezer-fix-jffs2-garbage-collector-freezing-issue.patch]
> ---
> From: Rafael J. Wysocki <rjw@sisk.pl>
>
> Fix breakage caused by commit d5d8c5976d6adeddb8208c240460411e2198b393
> "freezer: do not send signals to kernel threads" in
> jffs2_garbage_collect_thread() that assumed it would be sent signals
> by the freezer.
>
> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
> Cc: David Woodhouse <dwmw2@infradead.org>
> Cc: Pete MacKay <armlinux@architechnical.net>
> ---
> fs/jffs2/background.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6/fs/jffs2/background.c
> ===================================================================
> --- linux-2.6.orig/fs/jffs2/background.c
> +++ linux-2.6/fs/jffs2/background.c
> @@ -105,7 +105,7 @@ static int jffs2_garbage_collect_thread(
>
> /* Put_super will send a SIGKILL and then wait on the sem.
> */
> - while (signal_pending(current)) {
> + while (signal_pending(current) || freezing(current)) {
> siginfo_t info;
> unsigned long signr;
>
>
prev parent reply other threads:[~2007-12-04 6:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-04 0:11 [PATCH] Freezer: Fix JFFS2 garbage collector freezing issue (rev. 2) Rafael J. Wysocki
2007-12-04 6:30 ` Len Brown [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=200712040130.35299.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=armlinux@architechnical.net \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/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