Re: [PATCH bpf-next v1 8/8] selftests/bpf: tests for struct_ops autoload/autocreate toggling

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

 



On Wed, 2024-02-28 at 12:36 -0600, David Vernet wrote:
[...]

> > +	/* testmod_1 off, testmod_2 off,
> > +	 * setting same state several times should not confuse internal state.
> > +	 */
> > +	bpf_map__set_autocreate(testmod_2, false);
> > +	bpf_map__set_autocreate(testmod_2, false);
> 
> Duplicate line

This was intended, to check that reference counter is not over/under-saturated.

But this does not matter, as the test would not be in v2 if I take
Martin's suggestion in [0].

[0] https://lore.kernel.org/bpf/1e95162a-a8d7-44e6-bc63-999df8cae987@xxxxxxxxx/

[...]





[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