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

Merge branch 'core-printk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull printk locking fix from Thomas Gleixner:
"A single lock ordering fix in the printk code"

* 'core-printk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
printk: Fix rq->lock vs logbuf_lock unlock lock inversion

+1 -1
+1 -1
kernel/printk.c
··· 1369 1369 } 1370 1370 } 1371 1371 logbuf_cpu = UINT_MAX; 1372 + raw_spin_unlock(&logbuf_lock); 1372 1373 if (wake) 1373 1374 up(&console_sem); 1374 - raw_spin_unlock(&logbuf_lock); 1375 1375 return retval; 1376 1376 } 1377 1377