On Sat, Aug 22, 2020 at 12:55 AM Andrii Nakryiko
wrote:
>
> On Sat, Aug 22, 2020 at 12:49 AM Hao Luo wrote:
> >
> > On Fri, Aug 21, 2020 at 8:31 PM Andrii Nakryiko
> > wrote:
> > >
> > > On Fri, Aug 21, 2020 at 8:26 PM Andrii Nakryiko
> > > wrote:
> > > >
> > > > On Wed, Aug 19, 2020 at 3:42
On Sat, Aug 22, 2020 at 12:49 AM Hao Luo wrote:
>
> On Fri, Aug 21, 2020 at 8:31 PM Andrii Nakryiko
> wrote:
> >
> > On Fri, Aug 21, 2020 at 8:26 PM Andrii Nakryiko
> > wrote:
> > >
> > > On Wed, Aug 19, 2020 at 3:42 PM Hao Luo wrote:
> > > >
> > > > Add bpf_per_cpu_ptr() to help bpf programs
On Fri, Aug 21, 2020 at 8:31 PM Andrii Nakryiko
wrote:
>
> On Fri, Aug 21, 2020 at 8:26 PM Andrii Nakryiko
> wrote:
> >
> > On Wed, Aug 19, 2020 at 3:42 PM Hao Luo wrote:
> > >
> > > Add bpf_per_cpu_ptr() to help bpf programs access percpu vars.
> > > bpf_per_cpu_ptr() has the same semantic as
On Fri, Aug 21, 2020 at 8:26 PM Andrii Nakryiko
wrote:
>
> On Wed, Aug 19, 2020 at 3:42 PM Hao Luo wrote:
> >
> > Add bpf_per_cpu_ptr() to help bpf programs access percpu vars.
> > bpf_per_cpu_ptr() has the same semantic as per_cpu_ptr() in the kernel
> > except that it may return NULL. This
On Wed, Aug 19, 2020 at 3:42 PM Hao Luo wrote:
>
> Add bpf_per_cpu_ptr() to help bpf programs access percpu vars.
> bpf_per_cpu_ptr() has the same semantic as per_cpu_ptr() in the kernel
> except that it may return NULL. This happens when the cpu parameter is
> out of range. So the caller must
Add bpf_per_cpu_ptr() to help bpf programs access percpu vars.
bpf_per_cpu_ptr() has the same semantic as per_cpu_ptr() in the kernel
except that it may return NULL. This happens when the cpu parameter is
out of range. So the caller must check the returned value.
Signed-off-by: Hao Luo
---
6 matches
Mail list logo