Skip to content

bitmap: introduce find_random_bit() and use in clocksource

Yury Norov lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesIn review
  2. v33 patches 2 repliesSuperseded
  3. v23 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches4 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bitmap: generalize node_random()include/linux/find.h include/linux/nodemask.h lib/find_bit.c+29 -150 replies
2/3cpumask: introduce cpumask_random()include/linux/cpumask.h+12 -00 replies
3/3clocksource: Improve randomness in clocksource_verify_choose_cpus()kernel/time/clocksource.c+1 -40 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohn StultzThomas Gleixner
SeriesR-b
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] bitmap: introduce find_random_bit() and use in clocksource

nodemasks implement node_random(), which may also be useful for other subsystems. Generalize the function, and propagate to cpumask API.

v1: https://lore.kernel.org/all/[email protected]/
v2: https://lore.kernel.org/all/[email protected]/
v3: https://lore.kernel.org/all/[email protected]/
v4: return NUMA_NO_NODES instead of MAX_NUMNODES in node_random() (Andrew)

Yury Norov [NVIDIA] (3):
bitmap: generalize node_random()
cpumask: introduce cpumask_random()
clocksource: Improve randomness in clocksource_verify_choose_cpus()

 include/linux/cpumask.h   | 12 ++++++++++++
 include/linux/find.h      |  2 ++
 include/linux/nodemask.h  | 18 +++---------------
 kernel/time/clocksource.c |  5 +----
 lib/find_bit.c            | 24 ++++++++++++++++++++++++
 5 files changed, 42 insertions(+), 19 deletions(-)
Signature · 1 line
2.43.0