Re: [PATCH v13 2/7] net: introduce napi_busy_loop_rcu()

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

 



On Thu, 18 May 2023 14:17:46 -0700 Stefan Roesch wrote:
> + * napi_busy_loop_rcu() - busy poll (caller holds rcu read lock)
> + * @napi_id         : napi id
> + * @loop_end        : function to check for loop end
> + * @loop_end_arg    : argument for loop end function
> + * @prefer_busy_poll: prefer busy poll
> + * @budget          : budget for busy poll
> + *
> + * Warning: caller must hold rcu read lock.

I think it's worth noting that until the non-RCU version this one may
exit without calling need_resched(). Otherwise the entire kdoc can go
IMO, it adds no value. It just restates the arguments and the RCU-iness
is obviously implied by the suffix.



[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