diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2021-12-15 14:13:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-05 14:42:33 +0300 |
commit | 80176f65fa28898e7e20077e85989be479392cd2 (patch) | |
tree | 38f42ae832e898eabbf1004f868daf94c167df11 /security/selinux/netlabel.c | |
parent | 3fe6a63b5dbdc0864f01d3171046af03d34ee747 (diff) | |
download | linux-80176f65fa28898e7e20077e85989be479392cd2.tar.xz |
tomoyo: use hwight16() in tomoyo_domain_quota_is_ok()
[ Upstream commit f702e1107601230eec707739038a89018ea3468d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security/selinux/netlabel.c')
0 files changed, 0 insertions, 0 deletions