[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzbuBYOqkf2DwKEFU9yBs0ot_NPNUyr7wCc--jqpBB56qQ@mail.gmail.com>
Date: Mon, 11 Nov 2019 18:01:07 -0800
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: Andrii Nakryiko <andriin@...com>, bpf <bpf@...r.kernel.org>,
Networking <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Kernel Team <kernel-team@...com>,
Rik van Riel <riel@...riel.com>,
Johannes Weiner <hannes@...xchg.org>
Subject: Re: [PATCH v2 bpf-next 1/3] bpf: add mmap() support for BPF_MAP_TYPE_ARRAY
On Mon, Nov 11, 2019 at 10:39 AM Jakub Kicinski
<jakub.kicinski@...ronome.com> wrote:
>
> On Sat, 9 Nov 2019 00:06:30 -0800, Andrii Nakryiko wrote:
> > @@ -74,7 +78,7 @@ static struct bpf_map *array_map_alloc(union bpf_attr *attr)
> > int ret, numa_node = bpf_map_attr_numa_node(attr);
> > u32 elem_size, index_mask, max_entries;
> > bool unpriv = !capable(CAP_SYS_ADMIN);
> > - u64 cost, array_size, mask64;
> > + u64 cost, array_size, data_size, mask64;
> > struct bpf_map_memory mem;
> > struct bpf_array *array;
> >
>
> Please don't break reverse xmas tree where it exists.
alright, will move it up
Powered by blists - more mailing lists