summaryrefslogtreecommitdiff
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2022-09-27 12:49:11 +0200
committerPetr Mladek <pmladek@suse.com>2022-09-29 13:44:27 +0200
commite4279b599863dd1aa71fb8e35bffa943545bbaeb (patch)
tree396869d44ae7fc76f858f862f57eefd8a3daabd2 /fs/fs_struct.c
parenta1b02751d6ec21ec1b9c7c6826fc896ffde1c33d (diff)
lib/vsprintf: Remove static_branch_likely() from __ptr_to_hashval().
Using static_branch_likely() to signal that ptr_key has been filled is a bit much given that it is not a fast path. Replace static_branch_likely() with bool for condition and a memory barrier for ptr_key. Suggested-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20220927104912.622645-2-bigeasy@linutronix.de
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions