Re: [PATCH] rcu/tree: consider time a VM was suspended

From: Paul E. McKenney
Date: Fri May 21 2021 - 10:01:52 EST


On Fri, May 21, 2021 at 03:36:01PM +0900, Sergey Senozhatsky wrote:
> On (21/05/16 19:27), Sergey Senozhatsky wrote:
> > kernel/rcu/tree_stall.h | 18 ++++++++++++++++++
> > 1 file changed, 18 insertions(+)
> >
> > diff --git a/kernel/rcu/tree_stall.h b/kernel/rcu/tree_stall.h
> > index 59b95cc5cbdf..cb233c79f0bc 100644
> > --- a/kernel/rcu/tree_stall.h
> > +++ b/kernel/rcu/tree_stall.h
> > @@ -7,6 +7,8 @@
> > * Author: Paul E. McKenney <paulmck@xxxxxxxxxxxxx>
> > */
> >
> > +#include <asm/kvm_para.h>
> > +
>
> D'oh, why did I do this...
>
> Paul, I've a trivial fixup. How do you want to handle it?

I dropped your earlier patch due to the warning and also because it
looked like you might have a different approach.

So please just send the fixed-up patch and I will pull it in and see
how it does.

Thanx, Paul

> ---
>
> diff --git a/kernel/rcu/tree_stall.h b/kernel/rcu/tree_stall.h
> index cd815b19740a..b9b52f91e5b8 100644
> --- a/kernel/rcu/tree_stall.h
> +++ b/kernel/rcu/tree_stall.h
> @@ -7,7 +7,7 @@
> * Author: Paul E. McKenney <paulmck@xxxxxxxxxxxxx>
> */
>
> -#include <asm/kvm_para.h>
> +#include <linux/kvm_para.h>
>
> //////////////////////////////////////////////////////////////////////////////
> //