diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-11-29 20:32:26 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-12-08 20:54:08 -0500 |
commit | 2c2b0a78b373908926e4683ea5571332f63c0eb5 (patch) | |
tree | 4ffbcfc1abdc5569e7f444425c86948f1cd2426c /fs/timerfd.c | |
parent | 9c8e2f6d3d361439cc6744a094f1c15681b55269 (diff) |
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 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions