Re: [PATCH] hv_balloon: rate-limit "Unhandled message" warning

From: Wei Liu
Date: Tue Mar 01 2022 - 10:16:14 EST


On Fri, Feb 25, 2022 at 06:59:18PM +0000, Michael Kelley (LINUX) wrote:
> From: Anssi Hannula <anssi.hannula@xxxxxxxxxx> Sent: Tuesday, February 22, 2022 6:14 AM
> >
> > For a couple of times I have encountered a situation where
> >
> > hv_balloon: Unhandled message: type: 12447
> >
> > is being flooded over 1 million times per second with various values,
> > filling the log and consuming cycles, making debugging difficult.
> >
> > Add rate limiting to the message.
> >
> > Most other Hyper-V drivers already have similar rate limiting in their
> > message callbacks.
> >
> > The cause of the floods in my case was probably fixed by 96d9d1fa5cd5
> > ("Drivers: hv: balloon: account for vmbus packet header in
> > max_pkt_size").
> >
> > Fixes: 9aa8b50b2b3d ("Drivers: hv: Add Hyper-V balloon driver")
> > Signed-off-by: Anssi Hannula <anssi.hannula@xxxxxxxxxx>
[...]
>
> Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>

Applied to hyperv-next. Thanks.