Limit the number of requests (4 per queue as for vdpa_sim_net) handled
in a batch to prevent the worker from using the CPU for too long.
Suggested-by: Eugenio Pérez
Signed-off-by: Stefano Garzarella
---
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 15 ++-
1 file changed, 14 insertions(+),
On Wed, Jun 22, 2022 at 12:09 AM Stefano Garzarella wrote:
>
> Limit the number of requests (4 per queue as for vdpa_sim_net) handled
> in a batch to prevent the worker from using the CPU for too long.
>
> Suggested-by: Eugenio Pérez
> Signed-off-by: Stefano Garzarella
> ---
> drivers/vdpa/vdpa
On Thu, Jun 23, 2022 at 11:50:22AM +0800, Jason Wang wrote:
On Wed, Jun 22, 2022 at 12:09 AM Stefano Garzarella wrote:
Limit the number of requests (4 per queue as for vdpa_sim_net) handled
in a batch to prevent the worker from using the CPU for too long.
Suggested-by: Eugenio Pérez
Signed-o
On Thu, Jun 23, 2022 at 4:58 PM Stefano Garzarella wrote:
>
> On Thu, Jun 23, 2022 at 11:50:22AM +0800, Jason Wang wrote:
> >On Wed, Jun 22, 2022 at 12:09 AM Stefano Garzarella
> >wrote:
> >>
> >> Limit the number of requests (4 per queue as for vdpa_sim_net) handled
> >> in a batch to prevent t
On Tue, Jun 28, 2022 at 6:01 AM Jason Wang wrote:
>
> On Thu, Jun 23, 2022 at 4:58 PM Stefano Garzarella
> wrote:
> >
> > On Thu, Jun 23, 2022 at 11:50:22AM +0800, Jason Wang wrote:
> > >On Wed, Jun 22, 2022 at 12:09 AM Stefano Garzarella
> > >wrote:
> > >>
> > >> Limit the number of requests