Re: [net] 5478fcd0f4: BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h

2021-03-22 Thread Alexander Duyck
On Mon, Mar 22, 2021 at 2:26 AM Antoine Tenart wrote: > > Quoting Matthew Wilcox (2021-03-22 10:05:36) > > On Mon, Mar 22, 2021 at 09:55:50AM +0100, Antoine Tenart wrote: > > > I only had a quick look at this, but I think the issue should be fixed > > > with: > > > > > > diff --git a/net/core/net-

Re: [net] 5478fcd0f4: BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h

2021-03-22 Thread Antoine Tenart
Quoting Matthew Wilcox (2021-03-22 10:05:36) > On Mon, Mar 22, 2021 at 09:55:50AM +0100, Antoine Tenart wrote: > > I only had a quick look at this, but I think the issue should be fixed > > with: > > > > diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c > > index e16d54aabd4c..3ae3c20eb64c

Re: [net] 5478fcd0f4: BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h

2021-03-22 Thread Matthew Wilcox
On Mon, Mar 22, 2021 at 09:55:50AM +0100, Antoine Tenart wrote: > I only had a quick look at this, but I think the issue should be fixed > with: > > diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c > index e16d54aabd4c..3ae3c20eb64c 100644 > --- a/net/core/net-sysfs.c > +++ b/net/core/net-

Re: [net] 5478fcd0f4: BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h

2021-03-22 Thread Antoine Tenart
I only had a quick look at this, but I think the issue should be fixed with: diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index e16d54aabd4c..3ae3c20eb64c 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -1378,7 +1378,7 @@ static ssize_t xps_queue_show(struct net_device