]> Git Repo - linux.git/commit - kernel/watch_queue.c
watch_queue: Use the bitmap API when applicable
authorChristophe JAILLET <[email protected]>
Fri, 11 Mar 2022 13:24:15 +0000 (13:24 +0000)
committerLinus Torvalds <[email protected]>
Fri, 11 Mar 2022 18:17:12 +0000 (10:17 -0800)
commita66bd7575b5f449ee0ba20cfd21c3bc5b04ef361
tree2171425ee45eb2686cab062a815cface77e2cbf3
parent96a4d8912b28451cd62825fd7caa0e66e091d938
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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/watch_queue.c
This page took 0.052917 seconds and 4 git commands to generate.