Re: [PATCH bpf-next] bpf: simplify task_file_seq_get_next()

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

 





On 11/19/20 4:28 PM, Song Liu wrote:
Simplify task_file_seq_get_next() by removing two in/out arguments: task
and fstruct. Use info->task and info->files instead.

Cc: Yonghong Song <yhs@xxxxxx>
Signed-off-by: Song Liu <songliubraving@xxxxxx>

Thanks for the refactor. The new code is shorter and cleaner.

Acked-by: Yonghong Song <yhs@xxxxxx>

---
  kernel/bpf/task_iter.c | 53 ++++++++++++++----------------------------
  1 file changed, 17 insertions(+), 36 deletions(-)



[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