Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge the right tty-fixes branch

* branch 'tty-fixes'
tty: use the new 'flush_delayed_work()' helper to do ldisc flush
workqueue: add 'flush_delayed_work()' to run and wait for delayed work
tty: Make flush_to_ldisc() locking more robust

+1 -1
+1 -1
kernel/workqueue.c
··· 647 647 */ 648 648 void flush_delayed_work(struct delayed_work *dwork) 649 649 { 650 - if (del_timer(&dwork->timer)) { 650 + if (del_timer_sync(&dwork->timer)) { 651 651 struct cpu_workqueue_struct *cwq; 652 652 cwq = wq_per_cpu(keventd_wq, get_cpu()); 653 653 __queue_work(cwq, &dwork->work);