From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: linux-kernel@vger.kernel.org, bigeasy@linutronix.de,
linux@dominikbrodowski.net, sultan@kerneltoast.com
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>
Subject: [PATCH v4 0/2] cpuhp enhancements
Date: Tue, 15 Feb 2022 22:22:53 +0100 [thread overview]
Message-ID: <20220215212255.273253-1-Jason@zx2c4.com> (raw)
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
next reply other threads:[~2022-02-15 21:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-15 21:22 Jason A. Donenfeld [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220215212255.273253-1-Jason@zx2c4.com \
--to=jason@zx2c4.com \
--cc=bigeasy@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@dominikbrodowski.net \
--cc=sultan@kerneltoast.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox