From: Martin KaFai Lau <martin.lau@linux.dev>
To: Yaniv Agman <yanivagman@gmail.com>
Cc: Jakub Sitnicki <jakub@cloudflare.com>, bpf <bpf@vger.kernel.org>,
Yonghong Song <yhs@meta.com>
Subject: Re: Are BPF programs preemptible?
Date: Mon, 23 Jan 2023 12:06:06 -0800 [thread overview]
Message-ID: <3a87b859-d7c9-2dfd-b659-cd3192a67003@linux.dev> (raw)
In-Reply-To: <CAMy7=ZWPc279vnKK6L1fssp5h7cb6cqS9_EuMNbfVBg_ixmTrQ@mail.gmail.com>
On 1/23/23 9:32 AM, Yaniv Agman wrote:
>>> interrupted the first one. But even then, I will need to find a way to
>>> know if my program currently interrupts the run of another program -
>>> is there a way to do that?
May be a percpu atomic counter to see if the bpf prog has been re-entered on the
same cpu.
next prev parent reply other threads:[~2023-01-23 20:06 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-23 9:21 Are BPF programs preemptible? Yaniv Agman
2023-01-23 10:46 ` Jakub Sitnicki
2023-01-23 12:30 ` Yaniv Agman
2023-01-23 17:02 ` Yonghong Song
2023-01-23 17:32 ` Yaniv Agman
2023-01-23 20:06 ` Martin KaFai Lau [this message]
2023-01-23 21:01 ` Yaniv Agman
2023-01-23 21:22 ` Jakub Sitnicki
2023-01-23 21:56 ` Yaniv Agman
2023-01-24 12:30 ` Alexei Starovoitov
2023-01-24 15:47 ` Yaniv Agman
2023-01-24 17:24 ` Alexei Starovoitov
2023-01-24 17:38 ` Yaniv Agman
2023-01-25 0:04 ` Alexei Starovoitov
2023-01-25 16:39 ` Yaniv Agman
2023-01-25 18:52 ` Alexei Starovoitov
2023-01-25 19:59 ` Yaniv Agman
2023-01-26 2:22 ` Alexei Starovoitov
2023-01-26 6:59 ` Yaniv Agman
2023-01-26 15:29 ` Alexei Starovoitov
2023-01-26 17:51 ` Yaniv Agman
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=3a87b859-d7c9-2dfd-b659-cd3192a67003@linux.dev \
--to=martin.lau@linux.dev \
--cc=bpf@vger.kernel.org \
--cc=jakub@cloudflare.com \
--cc=yanivagman@gmail.com \
--cc=yhs@meta.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.