]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitc2c60ea37e5b6be58c9dd7aff0b2e86ba0f18e0b
treeca36be4716b4a0912c07952c5b8a85e4ae077f66
parent62803fec52f80e4dd375de2dd76510c405792928
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