Re: [PATCH bpf-next v1 2/2] selftests/bpf: Add tests for preempt kfuncs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 23 Apr 2024 at 13:17, Jiri Olsa <olsajiri@xxxxxxxxx> wrote:
>
> On Tue, Apr 23, 2024 at 06:19:22AM +0000, Kumar Kartikeya Dwivedi wrote:
> > Add tests for nested cases, nested count preservation upon different
> > subprog calls that disable/enable preemption, and test sleepable helper
> > call in non-preemptible regions.
> >
> > 181/1   preempt_lock/preempt_lock_missing_1:OK
> > 181/2   preempt_lock/preempt_lock_missing_2:OK
> > 181/3   preempt_lock/preempt_lock_missing_3:OK
> > 181/4   preempt_lock/preempt_lock_missing_3_minus_2:OK
> > 181/5   preempt_lock/preempt_lock_missing_1_subprog:OK
> > 181/6   preempt_lock/preempt_lock_missing_2_subprog:OK
> > 181/7   preempt_lock/preempt_lock_missing_2_minus_1_subprog:OK
> > 181/8   preempt_lock/preempt_balance:OK
> > 181/9   preempt_lock/preempt_balance_subprog_test:OK
> > 181/10  preempt_lock/preempt_sleepable_helper:OK
>
> should we also check that the global function call is not allowed?
>

Good point, that is missing, I'll wait for more reviews and then
respin with a failure test for this.

> jirka
>




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux