BPF Archive mirror
 help / color / mirror / Atom feed
From: Shahab Vahedi <list+bpf@vahedi.org>
To: "Shahab Vahedi" <list+bpf@vahedi.org>, "Björn Töpel" <bjorn@kernel.org>
Cc: bpf@vger.kernel.org, linux-snps-arc@lists.infradead.org,
	Vineet Gupta <vgupta@kernel.org>
Subject: Re: [PATCH bpf-next v1] ARC: Add eBPF JIT support
Date: Tue, 30 Apr 2024 17:01:06 +0200	[thread overview]
Message-ID: <e9227088-f14a-4357-b0f1-b85a8403fa37@vahedi.org> (raw)
In-Reply-To: <6e4cf7cc-6a2e-4396-b0d5-01ff10d6923a@vahedi.org>

Shahab Vahedi writes:
> 
> Björn Töpel <bjorn@kernel.org> writes:
>>
>> Please try to avoid static inline in the C-files. The compiler usually
>> knows better.
> 
> I will replace them with "static" then.

I have tried [1] this and the test execution time took a performance hit of
35%. Therefore, I have not included it in the rework [2].


Cheers,
Shahab

[1] GCC configuration used for building the Linux image
"GCC 12.2.1 20230306" with 3 different optimisations: "-O{2,3,g}"

[2] [PATCH bpf-next v2] ARC: Add eBPF JIT support
https://lore.kernel.org/bpf/20240430145604.38592-1-list+bpf@vahedi.org/

      parent reply	other threads:[~2024-04-30 15:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-13 13:19 [PATCH bpf-next v1] ARC: Add eBPF JIT support Shahab Vahedi
2024-02-14  2:39 ` Alexei Starovoitov
2024-02-14  5:53   ` Vineet Gupta
2024-02-14 14:54   ` Shahab Vahedi
2024-02-26 18:39     ` Shahab Vahedi
2024-03-03 17:18 ` Björn Töpel
2024-03-05 15:22   ` Shahab Vahedi
2024-03-06 16:21     ` Björn Töpel
2024-04-30 15:01     ` Shahab Vahedi [this message]

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=e9227088-f14a-4357-b0f1-b85a8403fa37@vahedi.org \
    --to=list+bpf@vahedi.org \
    --cc=bjorn@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=vgupta@kernel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).