linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/6] relax sig_needs_tasklist()
@ 2006-02-22 23:04 Oleg Nesterov
  2006-02-25 16:17 ` Eric W. Biederman
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Nesterov @ 2006-02-22 23:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-kernel, Ingo Molnar, Paul E. McKenney, Eric W. Biederman,
	David Howells

handle_stop_signal() does not need tasklist_lock for
SIG_KERNEL_STOP_MASK signals anymore.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>

--- 2.6.16-rc3/kernel/signal.c~2_RELAX	2006-02-23 00:36:49.000000000 +0300
+++ 2.6.16-rc3/kernel/signal.c	2006-02-23 01:22:45.000000000 +0300
@@ -146,8 +146,7 @@ static kmem_cache_t *sigqueue_cachep;
 #define sig_kernel_stop(sig) \
 		(((sig) < SIGRTMIN)  && T(sig, SIG_KERNEL_STOP_MASK))
 
-#define sig_needs_tasklist(sig) \
-		(((sig) < SIGRTMIN)  && T(sig, SIG_KERNEL_STOP_MASK | M(SIGCONT)))
+#define sig_needs_tasklist(sig)	((sig) == SIGCONT)
 
 #define sig_user_defined(t, signr) \
 	(((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_DFL) &&	\

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-25 20:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-22 23:04 [PATCH 2/6] relax sig_needs_tasklist() Oleg Nesterov
2006-02-25 16:17 ` Eric W. Biederman
2006-02-25 20:06   ` Oleg Nesterov

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