]> git.baikalelectronics.ru Git - kernel.git/commit
once: rename _SLOW to _SLEEPABLE
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 3 Oct 2022 18:14:13 +0000 (20:14 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Oct 2022 00:34:32 +0000 (17:34 -0700)
commit9fddf832d3ad23c0c7dfa5394a3e169135847104
treef0bb31b4ae8064a3c90c97e39acbdf2b74d24911
parent9a9488d77f75862c27ae6ac8108556cfee05aa07
once: rename _SLOW to _SLEEPABLE

The _SLOW designation wasn't really descriptive of anything. This is
meant to be called from process context when it's possible to sleep. So
name this more aptly _SLEEPABLE, which better fits its intended use.

Fixes: aace4a56fac3 ("once: add DO_ONCE_SLOW() for sleepable contexts")
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20221003181413.1221968-1-Jason@zx2c4.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/once.h
lib/once.c
net/ipv4/inet_hashtables.c