]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'pipe-exclusive-wakeup'
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 8 Feb 2020 19:44:02 +0000 (11:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 8 Feb 2020 19:44:02 +0000 (11:44 -0800)
commitd864c473c95e5fdad340e3c8159e869734d96491
tree130c5cae418ba529f44b27fbfd26e3a18c673996
parent13fa1957a5103c76caeb4d1b514cb17220e1776b
parentc06259f89489eea9ad2ea0712d4e7f0f9ad5f47c
Merge branch 'pipe-exclusive-wakeup'

Merge thundering herd avoidance on pipe IO.

This would have been applied for 5.5 already, but got delayed because of
a user-space race condition in the GNU make jobserver code.  Now that
there's a new GNU make 4.3 release, and most distributions seem to have
at least applied the (almost three year old) fix for the problem, let's
see if people notice.

And it might have been just bad random timing luck on my machine.

If you do hit the race condition, things will still work, but the
symptom is that you don't get nearly the expected parallelism when using
"make -j<N>".

The jobserver bug can definitely happen without this patch too, but
seems to be easier to trigger when we no longer wake up pipe waiters
unnecessarily.

* pipe-exclusive-wakeup:
  pipe: use exclusive waits when reading or writing