[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e717cb05-8342-5fde-e468-9a58272e2c8c@iogearbox.net>
Date: Mon, 30 Mar 2020 01:46:17 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Toke Høiland-Jørgensen <toke@...hat.com>,
ast@...com
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org,
Andrii Nakryiko <andrii.nakryiko@...il.com>
Subject: Re: [PATCH v4 1/2] libbpf: Add setter for initial value for internal
maps
On 3/29/20 3:22 PM, Toke Høiland-Jørgensen wrote:
> For internal maps (most notably the maps backing global variables), libbpf
> uses an internal mmaped area to store the data after opening the object.
> This data is subsequently copied into the kernel map when the object is
> loaded.
>
> This adds a function to set a new value for that data, which can be used to
> before it is loaded into the kernel. This is especially relevant for RODATA
> maps, since those are frozen on load.
>
> Signed-off-by: Toke Høiland-Jørgensen <toke@...hat.com>
Both applied, thanks!
Powered by blists - more mailing lists