From: Rabin Vincent Date: Thu, 6 Nov 2014 21:26:07 +0000 (+0100) Subject: tracing: Do not risk busy looping in buffer splice X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~130^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07906da78810dce5fd35b9449358c9208c693dca;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed