diff options
| author | Yury Norov [NVIDIA] <[email protected]> | 2025-06-19 18:26:23 +0000 |
|---|---|---|
| committer | Yury Norov <[email protected]> | 2025-07-08 23:11:57 +0000 |
| commit | c56f97c5c71f17d781461d44acb777cd21521b81 (patch) | |
| tree | ba7b64c3d174d2978426d06e1a3e58eafb61c503 /drivers/fpga/microchip-spi.c | |
| parent | Merge tag 'pwm/for-6.16-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
| download | kernel-c56f97c5c71f17d781461d44acb777cd21521b81.tar.gz kernel-c56f97c5c71f17d781461d44acb777cd21521b81.zip | |
bitmap: generalize node_random()
Generalize node_random() and make it available to general bitmaps and
cpumasks users.
Notice, find_first_bit() is generally faster than find_nth_bit(), and we
employ it when there's a single set bit in the bitmap.
See commit 3e061d924fe9c7b4 ("lib/nodemask: optimize node_random for
nodemask with single NUMA node").
CC: Andrew Morton <[email protected]>
Signed-off-by: "Yury Norov [NVIDIA]" <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
