Thread (36 messages) 36 messages, 8 authors, 2007-02-19

Re: [PATCH 02/10] windfarm: dont die on suspend thread signal

From: Christoph Hellwig <hch@lst.de>
Date: 2007-02-05 22:43:25
Also in: linux-pm

On Mon, Feb 05, 2007 at 07:30:29PM +0100, Johannes Berg wrote:
-		/* there should be no signal, but oh well */
-		if (signal_pending(current)) {
+		/* there should be no non-suspend signal, but oh well */
+		if (signal_pending(current) && !try_to_freeze()) {
Given that the driver uses the kthread infrastructure and doesn't
explicitly re-enable signals there can't be any other signal.
So just remove the signal_pending check.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help