[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW7O+rC6gw_YQjDQbswWA5OSd+dE9EuuJ9pPyxnrsUv+ww@mail.gmail.com>
Date: Tue, 17 Aug 2021 09:19:28 -0700
From: Song Liu <song@...nel.org>
To: Stanislav Fomichev <sdf@...gle.com>
Cc: Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>
Subject: Re: [PATCH bpf-next v2 1/2] bpf: use kvmalloc for map values in syscall
On Tue, Aug 17, 2021 at 8:46 AM Stanislav Fomichev <sdf@...gle.com> wrote:
>
> Use kvmalloc/kvfree for temporary value when manipulating a map via
> syscall. kmalloc might not be sufficient for percpu maps where the value
> is big (and further multiplied by hundreds of CPUs).
>
> Can be reproduced with netcnt test on qemu with "-smp 255".
>
> Signed-off-by: Stanislav Fomichev <sdf@...gle.com>
Acked-by: Song Liu <songliubraving@...com>
Powered by blists - more mailing lists