Skip to contentSkip to conversation

random number generator updates for 6.19-rc1

GIT PULL Merged Jason A. Donenfeld 2 participants 2 messages Dec 1, 2025 – Dec 3, 2025

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull the following small set of updates to the random number generator:

- Dynamically allocate cpumasks off of the stack, potentially, if the kernel is configured for a lot of CPUs, to handle a -Wframe-larger-than case.

- The removal of next_pseudo_random32() after the last user was switched over to the prandom interface.

- The removal of get_random_u{8,16,32,64}_wait() functions, as there were no users of those at all.

- Some house keeping changes - a few grammar cleanups in the comments, system_unbound_wq was renamed to system_dfl_wq, and static_key_initialized no longer needs to be checked.

These have been sitting in my tree for a while and haven't surface any issues.

Thanks,
Jason

The following changes since commit e53642b87a4f4b03a8d7e5f8507fc3cd0c595ea6:

Merge tag 'v6.18-rc3-smb-server-fixes' of git://git.samba.org/ksmbd (2025-10-28 18:00:40 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git tags/random-6.19-rc1-for-linus

for you to fetch changes up to 90fb9b98fcf5e668a13676d6e8cd546b6990d002:

random: complete sentence of comment (2025-11-25 02:54:37 +0100)

----------------------------------------------------------------
Random number generator updates for Linux 6.19-rc1.
----------------------------------------------------------------

Arnd Bergmann (1):
random: use offstack cpumask when necessary

Eric Biggers (1):
random: remove unused get_random_var_wait functions

Jason A. Donenfeld (1):
random: complete sentence of comment

Marco Crivellari (1):
random: replace use of system_unbound_wq with system_dfl_wq

Markus Theil (2):
media: vivid: use prandom
prandom: remove next_pseudo_random32

Thomas Weißschuh (1):
random: drop check for static_key_initialized

Thorsten Blum (1):
random: add missing words in function comments

 drivers/char/random.c                            | 38 +++++++++++++-----------
 drivers/media/test-drivers/vivid/vivid-vid-cap.c |  4 ++-
 include/linux/prandom.h                          |  6 ----
 include/linux/random.h                           | 15 ----------
 4 files changed, 24 insertions(+), 39 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 1 Dec 2025 03:40:18 +0100:

The pull request you sent on Mon, 1 Dec 2025 03:40:18 +0100:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git tags/random-6.19-rc1-for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3f9f0252130e7dd60d41be0802bf58f6471c691d

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html