Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1484493 > unrolled thread
| Started by | Tejun Heo <tj@kernel.org> |
|---|---|
| First post | 2016-09-15 21:40 +0200 |
| Last post | 2016-09-15 21:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 3/7] tty, workqueue: remove keventd_up() usage Tejun Heo <tj@kernel.org> - 2016-09-15 21:40 +0200
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2016-09-15 21:40 +0200 |
| Subject | [PATCH 3/7] tty, workqueue: remove keventd_up() usage |
| Message-ID | <shKFQ-2IM-21@gated-at.bofh.it> |
Now that workqueue can handle work item queueing from very early
during boot, there is no need to delay schedule_work() while
!keventd_up(). Remove it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
---
Hello,
This change depends on an earlier workqueue patch and is followed by a
patch to remove keventd_up(). It'd be great if it can be routed
through the wq/for-4.9 branch.
Thanks.
drivers/tty/vt/vt.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index 2705ca9..f76ad4c 100644
--- a/drivers/tty/vt/vt.c
+++ b/drivers/tty/vt/vt.c
@@ -3924,10 +3924,6 @@ void unblank_screen(void)
*/
static void blank_screen_t(unsigned long dummy)
{
- if (unlikely(!keventd_up())) {
- mod_timer(&console_timer, jiffies + (blankinterval * HZ));
- return;
- }
blank_timer_expired = 1;
schedule_work(&console_work);
}
--
2.7.4
Back to top | Article view | linux.kernel
csiph-web