]> git.itanic.dy.fi Git - linux-stable/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)
commit2a4187f4406ec3236f8b9d0d5150d2bf8d021b68
treef0bb31b4ae8064a3c90c97e39acbdf2b74d24911
parent331834898f2b19ddd54e14468dd686f208412ce5
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: 62c07983bef9 ("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