linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] cpuhp enhancements
@ 2022-02-15 21:22 Jason A. Donenfeld
  2022-02-15 21:22 ` [PATCH v4 1/2] random: set fast pool count to zero in cpuhp prepare Jason A. Donenfeld
  2022-02-15 21:22 ` [PATCH v4 2/2] random: invalidate crngs and batches " Jason A. Donenfeld
  0 siblings, 2 replies; 4+ messages in thread
From: Jason A. Donenfeld @ 2022-02-15 21:22 UTC (permalink / raw)
  To: linux-kernel, bigeasy, linux, sultan; +Cc: Jason A. Donenfeld

This series combines the two uses thus far identified for cpuhp in
random.c. v3 uses prepare instead of teardown. v4 guards the added
function with CONFIG_SMP, since it's not used on !CONFIG_SMP.

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      | 47 ++++++++++++++++++++++++++------------
 include/linux/cpuhotplug.h |  1 +
 include/linux/random.h     |  4 ++++
 kernel/cpu.c               |  6 +++++
 4 files changed, 43 insertions(+), 15 deletions(-)

-- 
2.35.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-17 12:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 21:22 [PATCH v4 0/2] cpuhp enhancements Jason A. Donenfeld
2022-02-15 21:22 ` [PATCH v4 1/2] random: set fast pool count to zero in cpuhp prepare Jason A. Donenfeld
2022-02-17 12:01   ` Jason A. Donenfeld
2022-02-15 21:22 ` [PATCH v4 2/2] random: invalidate crngs and batches " Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).