]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'trace-fixes-v3.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Nov 2014 22:02:29 +0000 (14:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Nov 2014 22:02:29 +0000 (14:02 -0800)
commitde83c7e90df6a1bd275f9bb336a7d4b96b57ab72
tree6afa99cd4d4b6908b1f0efab97ad3665d9654785
parent0803a679b1ffe0876b01ede83525179c3397f737
parent90d3110ad95a7570594d6395559e6dc76900f0a5
Merge tag 'trace-fixes-v3.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull tracing fix from Steven Rostedt:
 "Rabin Vincent found a way that tracing could cause an infinite loop in
  the kernel.  The splice logic wants a full page from the ring buffer
  but the ring_buffer_wait() returns when there's any data in the ring
  buffer.  The splice code would then continue the loop waiting for a
  full page.  But if a full page never happens, the splice code will
  never sleep and just continue to loop.

  There's another case that Rabin fixed that could loop if there's no
  memory and kmalloc() constantly returns NULL"

* tag 'trace-fixes-v3.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
  tracing: Do not risk busy looping in buffer splice
  tracing: Do not busy wait in buffer splice