summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-10-08 16:50:30 +0200
committerSteven Rostedt <rostedt@goodmis.org>2010-10-20 21:17:56 +0200
commit140ff89127c74b1b1c1b0152a36ea3720ccf6bc3 (patch)
tree4948fdc850ca13b530f5b4f3c4649b2c510e1a30 /drivers/char
parentring-buffer: Bind time extend and data events together (diff)
downloadlinux-140ff89127c74b1b1c1b0152a36ea3720ccf6bc3.tar.xz
linux-140ff89127c74b1b1c1b0152a36ea3720ccf6bc3.zip
ring-buffer: Remove condition to add timestamp in fast path
There's a condition to check if we should add a time extend or not in the fast path. But this condition is racey (in the sense that we can add a unnecessary time extend, but nothing that can break anything). We later check if the time or event time delta should be zero or have real data in it (not racey), making this first check redundant. This check may help save space once in a while, but really is not worth the hassle to try to save some space that happens at most 134 ms at a time. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions