You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 3e061d9 ("lib/nodemask: optimize node_random for
nodemask with single NUMA node").
CC: Andrew Morton <[email protected]>
Signed-off-by: "Yury Norov [NVIDIA]" <[email protected]>
0 commit comments