diff options
author | 2018-05-16 11:02:54 -0700 | |
---|---|---|
committer | 2018-05-16 11:02:54 -0700 | |
commit | 9d38cd06c3e332093da2c486307395b302e2e31f (patch) | |
tree | c04652140f30d291a42053104b7673112d8424f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs (diff) | |
parent | vsprintf: Replace memory barrier with static_key for random_ptr_key update (diff) | |
download | linux-dev-9d38cd06c3e332093da2c486307395b302e2e31f.tar.xz linux-dev-9d38cd06c3e332093da2c486307395b302e2e31f.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions