summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-05-16 11:02:54 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-05-16 11:02:54 -0700
commit9d38cd06c3e332093da2c486307395b302e2e31f (patch)
treec04652140f30d291a42053104b7673112d8424f8 /include/trace
parent21b9f1c7e319f654de3b2574fe8d4e4114c9143f (diff)
parent85f4f12d51397f1648e1f4350f77e24039b82d61 (diff)
Merge tag 'trace-v4.17-rc5-vsprintf' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull memory barrier for from Steven Rostedt: "The memory barrier usage in updating the random ptr hash for %p in vsprintf is incorrect. Instead of adding the read memory barrier into vsprintf() which will cause a slight degradation to a commonly used function in the kernel just to solve a very unlikely race condition that can only happen at boot up, change the code from using a variable branch to a static_branch. Not only does this solve the race condition, it actually will improve the performance of vsprintf() by removing the conditional branch that is only needed at boot" * tag 'trace-v4.17-rc5-vsprintf' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: vsprintf: Replace memory barrier with static_key for random_ptr_key update
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions