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

Pull locking fixes from Thomas Gleixner:
"Two final locking fixes for 4.15:

- Repair the OWNER_DIED logic in the futex code which got wreckaged
with the recent fix for a subtle race condition.

- Prevent the hard lockup detector from triggering when dumping all
held locks in the system"

* 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
locking/lockdep: Avoid triggering hardlockup from debug_show_all_locks()
futex: Fix OWNER_DEAD fixup

Changed files
+5 -3
kernel
locking
+3 -3
kernel/futex.c
··· 2311 2311 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); 2312 2312 2313 2313 oldowner = pi_state->owner; 2314 - /* Owner died? */ 2315 - if (!pi_state->owner) 2316 - newtid |= FUTEX_OWNER_DIED; 2317 2314 2318 2315 /* 2319 2316 * We are here because either: ··· 2371 2374 } 2372 2375 2373 2376 newtid = task_pid_vnr(newowner) | FUTEX_WAITERS; 2377 + /* Owner died? */ 2378 + if (!pi_state->owner) 2379 + newtid |= FUTEX_OWNER_DIED; 2374 2380 2375 2381 if (get_futex_value_locked(&uval, uaddr)) 2376 2382 goto handle_fault;
+2
kernel/locking/lockdep.c
··· 49 49 #include <linux/gfp.h> 50 50 #include <linux/random.h> 51 51 #include <linux/jhash.h> 52 + #include <linux/nmi.h> 52 53 53 54 #include <asm/sections.h> 54 55 ··· 4491 4490 if (!unlock) 4492 4491 if (read_trylock(&tasklist_lock)) 4493 4492 unlock = 1; 4493 + touch_nmi_watchdog(); 4494 4494 } while_each_thread(g, p); 4495 4495 4496 4496 pr_warn("\n");