summaryrefslogtreecommitdiff
path: root/include/asm-generic/resource.h
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-11-30 04:32:26 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-12-09 04:54:08 +0300
commit2c2b0a78b373908926e4683ea5571332f63c0eb5 (patch)
tree4ffbcfc1abdc5569e7f444425c86948f1cd2426c /include/asm-generic/resource.h
parent9c8e2f6d3d361439cc6744a094f1c15681b55269 (diff)
downloadlinux-2c2b0a78b373908926e4683ea5571332f63c0eb5.tar.xz
ring-buffer: Add percentage of ring buffer full to wake up reader
Instead of just waiting for a page to be full before waking up a pending reader, allow the reader to pass in a "percentage" of pages that have content before waking up a reader. This should help keep the process of reading the events not cause wake ups that constantly cause reading of the buffer. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/asm-generic/resource.h')
0 files changed, 0 insertions, 0 deletions