On Sat, 15 Mar 2025 at 15:57, Hou Tao <houtao@xxxxxxxxxxxxxxx> wrote: > > From: Hou Tao <houtao1@xxxxxxxxxx> > > When there are no special fields in the map value, there is no need to > invoke bpf_obj_free_fields(). Therefore, checking the validity of > map->record in advance. > > After the change, the benchmark result of the per-cpu update case in > map_perf_test increased by 40% under a 16-CPU VM. > > Signed-off-by: Hou Tao <houtao1@xxxxxxxxxx> > --- Acked-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>