diff options
author | 2022-03-11 13:24:15 +0000 | |
---|---|---|
committer | 2022-03-11 10:17:12 -0800 | |
commit | a66bd7575b5f449ee0ba20cfd21c3bc5b04ef361 (patch) | |
tree | 2171425ee45eb2686cab062a815cface77e2cbf3 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | watch_queue: Fix to always request a pow-of-2 pipe ring size (diff) | |
download | linux-dev-a66bd7575b5f449ee0ba20cfd21c3bc5b04ef361.tar.xz linux-dev-a66bd7575b5f449ee0ba20cfd21c3bc5b04ef361.zip |
watch_queue: Use the bitmap API when applicable
Use bitmap_alloc() to simplify code, improve the semantic and reduce
some open-coded arithmetic in allocator arguments.
Also change a memset(0xff) into an equivalent bitmap_fill() to keep
consistency.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions