Rabin Vincent 07906da788 tracing: Do not risk busy looping in buffer splice
If the read loop in trace_buffers_splice_read() keeps failing due to
memory allocation failures without reading even a single page then this
function will keep busy looping.

Remove the risk for that by exiting the function if memory allocation
failures are seen.

Link: http://lkml.kernel.org/r/1415309167-2373-2-git-send-email-rabin@rab.in

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2014-11-10 16:47:31 -05:00
..
2014-10-27 19:09:59 -04:00
2014-10-29 16:33:14 -07:00
2014-10-28 10:46:10 +01:00
2014-10-09 22:26:04 -04:00
2014-10-09 22:26:04 -04:00
2014-09-23 16:37:51 -04:00
2014-08-08 15:57:18 -07:00
2014-09-10 15:42:12 -07:00
2014-10-27 19:09:59 -04:00
2014-08-08 15:57:24 -07:00
2014-10-07 20:39:25 -04:00
2014-08-08 15:57:22 -07:00