summaryrefslogtreecommitdiff
path: root/lib/bucket_locks.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2021-12-15 14:13:55 +0300
committerTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2021-12-15 14:13:55 +0300
commitf702e1107601230eec707739038a89018ea3468d (patch)
tree227a86421ee10e7941f707b03ac456f88595a127 /lib/bucket_locks.c
parent04e57a2d952bbd34bc45744e72be3eecdc344294 (diff)
downloadlinux-f702e1107601230eec707739038a89018ea3468d.tar.xz
tomoyo: use hwight16() in tomoyo_domain_quota_is_ok()
hwight16() is much faster. While we are at it, no need to include "perm =" part into data_race() macro, for perm is a local variable that cannot be accessed by other threads. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Diffstat (limited to 'lib/bucket_locks.c')
0 files changed, 0 insertions, 0 deletions