login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
18
Re: [RFC][PATCH -mm] Freezer: Do not allow freezing processes to clear TIF_SIGPENDING
view
thread
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Nigel Cunningham
Subject:
Re: [RFC][PATCH -mm] Freezer: Do not allow freezing processes to clear TIF_SIGPENDING
Date: Thursday, October 18, 2007 - 3:09 pm
Hi. On Friday 19 October 2007 08:22:35 Rafael J. Wysocki wrote:
quoted text
> From: Rafael J. Wysocki <rjw@sisk.pl> > > Do not allow processes to clear their TIF_SIGPENDING if TIF_FREEZE is set, > to prevent them from racing with the freezer (like mysqld does, for
example).
quoted text
> > Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Nigel Cunningham <nigel@suspend2.net>
quoted text
> --- > kernel/signal.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6.23-mm1/kernel/signal.c > =================================================================== > --- linux-2.6.23-mm1.orig/kernel/signal.c > +++ linux-2.6.23-mm1/kernel/signal.c > @@ -124,7 +124,7 @@ void recalc_sigpending_and_wake(struct t > > void recalc_sigpending(void) > { > - if (!recalc_sigpending_tsk(current)) > + if (!recalc_sigpending_tsk(current) && !freezing(current)) > clear_thread_flag(TIF_SIGPENDING); > > } >
-- Nigel, Michelle, Alisdair and ____________ Cunningham 5 Mitchell Street Cobden 3266 Victoria, Australia -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: [RFC][PATCH -mm] Freezer: Do not allow freezing proces ...
, Nigel Cunningham
, (Thu Oct 18, 3:09 pm)
[RFC][PATCH -mm] Freezer: Do not allow freezing processes ...
, Rafael J. Wysocki
, (Thu Oct 18, 3:22 pm)
Re: [RFC][PATCH -mm] Freezer: Do not allow freezing proces ...
, Pavel Machek
, (Fri Oct 19, 12:55 am)
Re: [RFC][PATCH -mm] Freezer: Do not allow freezing proces ...
, Rafael J. Wysocki
, (Fri Oct 19, 2:34 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix