]> git.baikalelectronics.ru Git - kernel.git/commit
once: use __section(".data.once")
authorEric Dumazet <edumazet@google.com>
Mon, 15 Nov 2021 17:23:01 +0000 (09:23 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Nov 2021 03:07:53 +0000 (19:07 -0800)
commit151f487ff38959e926f87d036bf6d5c9bd023f8c
treeca36be4716b4a0912c07952c5b8a85e4ae077f66
parent1db71cbee81506c07af9b6a9a730c06d0be036c4
once: use __section(".data.once")

.data.once contains nicely packed bool variables.
It is used already by DO_ONCE_LITE().

Using it also in DO_ONCE() removes holes in .data section.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/once.h