Re: [PATCH bpf v4 3/7] bpf: Set need_defer as false when clearing fd array during map free

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

 



Hi,

On 12/4/2023 2:57 AM, Alexei Starovoitov wrote:
> On Thu, Nov 30, 2023 at 10:01:16PM +0800, Hou Tao wrote:
>>  
>> -static long fd_array_map_delete_elem(struct bpf_map *map, void *key)
>> +static long fd_array_map_delete_elem_with_deferred_free(struct bpf_map *map, void *key,
>> +							bool need_defer)
> way too verbose.
> Tomorrow we will add another bool and would have to rename it?
> Just use __fd_array_map_delete_elem().

Will do. Thanks.





[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