diff options
author | 2009-06-02 23:00:53 -0400 | |
---|---|---|
committer | 2009-06-03 10:15:22 -0400 | |
commit | edd813bffc62a980bb4fb9b1243f31c1cce78da3 (patch) | |
tree | 45dd8b0ca7b74f05bd545a1c3c7c4d2137f1b1d0 /security/capability.c | |
parent | ring-buffer: fix bug in ring_buffer_discard_commit (diff) | |
download | wireguard-linux-edd813bffc62a980bb4fb9b1243f31c1cce78da3.tar.xz wireguard-linux-edd813bffc62a980bb4fb9b1243f31c1cce78da3.zip |
ring-buffer: try to discard unneeded timestamps
There are times that a race may happen that we add a timestamp in a
nested write. This timestamp would just contain a zero delta and serves
no purpose.
Now that we have a way to discard events, this patch will try to discard
the timestamp instead of just wasting the space in the ring buffer.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'security/capability.c')
0 files changed, 0 insertions, 0 deletions