summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-10-08 10:50:30 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-10-20 15:17:56 -0400
commit140ff89127c74b1b1c1b0152a36ea3720ccf6bc3 (patch)
tree4948fdc850ca13b530f5b4f3c4649b2c510e1a30 /drivers/thermal
parent69d1b839f7eee347e357b3f6cce7f630cc6ff93d (diff)
downloadtalos-op-linux-140ff89127c74b1b1c1b0152a36ea3720ccf6bc3.tar.gz
talos-op-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/thermal')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud