Messages in this thread | | | Date | Sun, 19 Jun 2022 15:42:47 -0700 | From | Jakub Kicinski <> | Subject | Re: [PATCH] net, lib/once: Remove {net_}get_random_once_wait macro |
| |
On Sun, 19 Jun 2022 15:46:41 +0800 wuchi wrote: > DO_ONCE(func, ...) will call func with spinlock which acquired by > spin_lock_irqsave in __do_once_start. But the get_random_once_wait > will sleep in get_random_bytes_wait -> wait_for_random_bytes. > > Fortunately, there is no place to use {net_}get_random_once_wait, > so we could remove them simply. > > Signed-off-by: wuchi <wuchi.zero@gmail.com>
Yeah, sure, if it builds:
Acked-by: Jakub Kicinski <kuba@kernel.org>
If Andrew doesn't pick it you please repost CCing netdev.
| |