[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQ+HO3um5jU2qt3p8iEBt4_mC_MSGyA=uScck-N5Mp8t5w@mail.gmail.com>
Date: Fri, 12 Jun 2020 15:28:57 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrii Nakryiko <andriin@...com>
Cc: bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH bpf] libbpf: support pre-initializing .bss global variables
On Fri, Jun 12, 2020 at 12:45 PM Andrii Nakryiko <andriin@...com> wrote:
>
> Remove invalid assumption in libbpf that .bss map doesn't have to be updated
> in kernel. With addition of skeleton and memory-mapped initialization image,
> .bss doesn't have to be all zeroes when BPF map is created, because user-code
> might have initialized those variables from user-space.
>
> Fixes: eba9c5f498a1 ("libbpf: Refactor global data map initialization")
> Signed-off-by: Andrii Nakryiko <andriin@...com>
Applied. Thanks
Powered by blists - more mailing lists