[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f935d733-9bca-f396-301a-cd3a38fae7e7@fb.com>
Date: Wed, 13 Jul 2022 12:52:35 -0700
From: Yonghong Song <yhs@...com>
To: Yafang Shao <laoar.shao@...il.com>, ast@...nel.org,
daniel@...earbox.net, andrii@...nel.org, kafai@...com,
songliubraving@...com, john.fastabend@...il.com, kpsingh@...nel.org
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH bpf-next v4] bpf: Warn on non-preallocated case for
BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE
On 7/13/22 9:09 AM, Yafang Shao wrote:
> BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE is also tracing type, which may
> cause unexpected memory allocation if we set BPF_F_NO_PREALLOC.
> Let's also warn on it.
>
> Signed-off-by: Yafang Shao <laoar.shao@...il.com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists