mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: bpf@vger.kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, alexei.starovoitov@gmail.com,
	andrii@kernel.org, martin.lau@kernel.org
Subject: Re: [GIT PULL] bpf for v6.13-rc4
Date: Tue, 24 Dec 2024 14:38:09 +0100	[thread overview]
Message-ID: <2224e5ac-4b9d-4ffc-bc36-27a4f0b20a65@iogearbox.net> (raw)
In-Reply-To: <CAHk-=whmQSiZzQuUMLHf7jn5eS1=PEhpPdTNVq8LX0qBk31w0A@mail.gmail.com>

Hi Linus,

On 12/21/24 8:23 PM, Linus Torvalds wrote:
> On Fri, 20 Dec 2024 at 16:21, Daniel Borkmann <daniel@iogearbox.net> wrote:
>>
>> - Fix inlining of bpf_get_smp_processor_id helper for !CONFIG_SMP
>>    systems (Andrea Righi)
> 
> LOL.
> 
> However, it strikes me that this only handles the x86-64 case.
> 
> The other cases (arm64, RISC-V) may not have the pcpu_hot crash, but
> they still generate silly code to load off the thread pointer. Does
> that even exist (or get initialized) in UP?
> 
> End result: I think you should have done the UP case separately and
> outside the CONFIG_X86_64.. And why do this only for the
> "verifier_inlines_helper_call()" case rather than just do it
> unconditionally?

All makes sense, I'll look into following up on your above suggestion
once back from travel!

> Anyway, I obviously pulled this, but it does seem silly.

Thanks & Merry Xmas,
Daniel

  reply	other threads:[~2024-12-24 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-21  0:21 Daniel Borkmann
2024-12-21 19:23 ` Linus Torvalds
2024-12-24 13:38   ` Daniel Borkmann [this message]
2024-12-21 19:30 ` pr-tracker-bot

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=2224e5ac-4b9d-4ffc-bc36-27a4f0b20a65@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=alexei.starovoitov@gmail.com \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.lau@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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

all inboxes | Powered by JetHome®