[PATCH v3 0/2] random: cpuhp enhancements

From: Jason A. Donenfeld
Date: Mon Feb 14 2022 - 10:14:35 EST


This series combines the two uses thus far identified for cpuhp in
random.c. v3 now uses prepare instead of teardown.

Jason A. Donenfeld (2):
random: set fast pool count to zero in cpuhp prepare
random: invalidate crngs and batches in cpuhp prepare

drivers/char/random.c | 45 +++++++++++++++++++++++++-------------
include/linux/cpuhotplug.h | 1 +
include/linux/random.h | 2 ++
kernel/cpu.c | 6 +++++
4 files changed, 39 insertions(+), 15 deletions(-)

--
2.35.0