Three minor updates

 - Use of the new GFP_RETRY_MAYFAIL to be more aggressive in allocating
   memory for the ring buffer without causing OOMs

 - Fix a memory leak in adding and removing instances

 - Add __rcu annotation to be able to debug RCU usage of function
   tracing a bit better.
trace: fix the errors caused by incompatible type of RCU variables

The variables which are processed by RCU functions should be annotated
as RCU, otherwise sparse will report the errors like below:

"error: incompatible types in comparison expression (different
address spaces)"

Link: http://lkml.kernel.org/r/1496823171-7758-1-git-send-email-zhang.chunyan@linaro.org

Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
[ Updated to not be 100% 80 column strict ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
4 files changed