Re: [PATCH] padata: add helper function for queue length

From: Jason A. Donenfeld
Date: Wed Oct 12 2016 - 08:25:06 EST


Hi Steffen,

On Fri, Oct 7, 2016 at 5:15 AM, Steffen Klassert
<steffen.klassert@xxxxxxxxxxx> wrote:
> Why you want to have this?

I'm working on some bufferbloat/queue code that could benefit from
knowing how many items are currently in flight. The goal is to always
keep padata busy, but never with more jobs than absolutely necessary.
The model is CoDel.

Regards,
Jason