Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1255629 > unrolled thread

[PATCH] uwb: uwbd() is not freezable kthread

Started byJiri Kosina <jikos@kernel.org>
First post2015-10-26 04:10 +0100
Last post2015-10-26 04:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] uwb: uwbd() is not freezable kthread Jiri Kosina <jikos@kernel.org> - 2015-10-26 04:10 +0100

#1255629 — [PATCH] uwb: uwbd() is not freezable kthread

FromJiri Kosina <jikos@kernel.org>
Date2015-10-26 04:10 +0100
Subject[PATCH] uwb: uwbd() is not freezable kthread
Message-ID<qnGkx-2Sr-1@gated-at.bofh.it>
From: Jiri Kosina <jkosina@suse.cz>

uwbd() calls try_to_freeze(), but the thread doesn't mark itself freezable
through set_freezable(), so the try_to_freeze() call is useless.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
 drivers/uwb/uwbd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/uwb/uwbd.c b/drivers/uwb/uwbd.c
index bdcb13c..01c20a2 100644
--- a/drivers/uwb/uwbd.c
+++ b/drivers/uwb/uwbd.c
@@ -279,7 +279,6 @@ static int uwbd(void *param)
 			HZ);
 		if (should_stop)
 			break;
-		try_to_freeze();
 
 		spin_lock_irqsave(&rc->uwbd.event_list_lock, flags);
 		if (!list_empty(&rc->uwbd.event_list)) {

-- 
Jiri Kosina
SUSE Labs

--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web