BPF List
 help / color / mirror / Atom feed
From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Arnd Bergmann" <arnd@kernel.org>,
	"Daniel Borkmann" <daniel@iogearbox.net>,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Eduard Zingerman" <eddyz87@gmail.com>,
	"Kumar Kartikeya Dwivedi" <memxor@gmail.com>
Cc: "Arnd Bergmann" <arnd@arndb.de>,
	"Martin KaFai Lau" <martin.lau@linux.dev>,
	"Song Liu" <song@kernel.org>,
	"Yonghong Song" <yonghong.song@linux.dev>,
	"Jiri Olsa" <jolsa@kernel.org>,
	"Emil Tsalapatis" <emil@etsalapatis.com>,
	"Ihor Solodrai" <ihor.solodrai@linux.dev>, <bpf@vger.kernel.org>
Subject: Re: [PATCH] bpf: reduce kernel stack usage in bpf_guess_first_trips()
Date: Tue, 24 Nov 2026 19:51:02 +0000	[thread overview]
Message-ID: <DN3PAZH0AXZ2.74LR1B69MQE2@gmail.com> (raw)
In-Reply-To: <20261124140155.1555535-1-arnd@kernel.org>

On Tue, Nov 24, 2026 at 06:01 AM Arnd Bergmann <arnd@kernel.org> wrote:
> +	next = kzalloc_obj(*next);
> +	if (!next)
> +		return -ENOMEM;

Every allocation in the verifier uses BPF_VERIFIER_GFP.
I changed it to
	next = kzalloc_obj(*next, BPF_VERIFIER_GFP);
while applying.

Applied to bpf-next. Thanks for the fix!

  parent reply	other threads:[~2026-11-24 19:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 14:01 [PATCH] bpf: reduce kernel stack usage in bpf_guess_first_trips() Arnd Bergmann
2026-11-24 14:09 ` sashiko-bot
2026-11-24 19:51 ` Alexei Starovoitov [this message]
2026-11-24 20:00 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DN3PAZH0AXZ2.74LR1B69MQE2@gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=andrii@kernel.org \
    --cc=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=jolsa@kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=song@kernel.org \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox