[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230605110040.3713a1fb@kernel.org>
Date: Mon, 5 Jun 2023 11:00:40 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Stefan Roesch <shr@...kernel.io>
Cc: io-uring@...r.kernel.org, kernel-team@...com, axboe@...nel.dk,
ammarfaizi2@...weeb.org, netdev@...r.kernel.org, olivier@...llion01.com
Subject: Re: [PATCH v13 1/7] net: split off __napi_busy_poll from
napi_busy_poll
On Mon, 05 Jun 2023 10:47:40 -0700 Stefan Roesch wrote:
> > Can you refactor this further? I think the only state that's kept
> > across "restarts" is the start_time right? So this version is
> > effectively a loop around what ends up being napi_busy_loop_rcu(), no?
>
> I'm not sure I understand this correctly. Do you want the start time to
> be a parameter of the function napi_busy_poll_rcu?
The RCU and non-RCU version of this function end up looking very
similar, what I'm asking is to share more code.
Powered by blists - more mailing lists