[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a77158f-f8cb-ce90-2b57-11f337fff9e0@fb.com>
Date: Thu, 28 Feb 2019 00:56:31 +0000
From: Alexei Starovoitov <ast@...com>
To: Andrii Nakryiko <andrii.nakryiko@...il.com>,
Yonghong Song <yhs@...com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Kernel Team <Kernel-team@...com>
Subject: Re: [PATCH bpf-next 1/2] bpf: set inner_map_meta->spin_lock_off
correctly
On 2/27/19 4:28 PM, Andrii Nakryiko wrote:
> No, it won't, because bpf_map_meta_alloc explicitly tests for it:
>
> if (map_value_has_spin_lock(inner_map)) {
> fdput(f);
> return ERR_PTR(-ENOTSUPP);
> }
>
> Maybe Alexei can clarify?
inner map can be replaced while progs are running.
I don't think added complexity is worth it.
Hence it's disallowed for time being.
Powered by blists - more mailing lists