ring-buffer: Mark the !tail (crossing a page) as unlikely
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 30 Jun 2020 13:04:35 +0000 (09:04 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 30 Jun 2020 21:18:56 +0000 (17:18 -0400)
commit75b21c6dfa2d816bcabac24a530d9cffc12092b8
tree6c12e434fe28cf3fa11b1ce13f2f42b33a42d833
parentb23d7a5f4a07af02343cdd28fe1f7488bac3afda
ring-buffer: Mark the !tail (crossing a page) as unlikely

It is the uncommon case where an event crosses a sub buffer boundary (page)
mark that check at the end of reserving an event as unlikely.

Suggested-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c