From: Yuval Shaia
Date: Tue, 13 Jun 2017 23:40:41 +0300
> On Tue, Jun 13, 2017 at 01:36:24PM -0700, Cong Wang wrote:
>> Laura reported a sleep-in-atomic kernel warning inside
>
> Since you added a Reported-by tag below i don't see a reason to
> specifically mention it in commit log message.
Tha
From: Cong Wang
Date: Tue, 13 Jun 2017 13:36:24 -0700
> Laura reported a sleep-in-atomic kernel warning inside
> tcf_act_police_init() which calls gen_replace_estimator() with
> spinlock protection.
>
> It is not necessary in this case, we already have RTNL lock here
> so it is enough to protect
On 17-06-13 04:36 PM, Cong Wang wrote:
Laura reported a sleep-in-atomic kernel warning inside
tcf_act_police_init() which calls gen_replace_estimator() with
spinlock protection.
It is not necessary in this case, we already have RTNL lock here
so it is enough to protect concurrent writers. For th
On Tue, Jun 13, 2017 at 1:40 PM, Yuval Shaia wrote:
> On Tue, Jun 13, 2017 at 01:36:24PM -0700, Cong Wang wrote:
>> Laura reported a sleep-in-atomic kernel warning inside
>
> Since you added a Reported-by tag below i don't see a reason to
> specifically mention it in commit log message.
If you ha
On Tue, Jun 13, 2017 at 01:36:24PM -0700, Cong Wang wrote:
> Laura reported a sleep-in-atomic kernel warning inside
Since you added a Reported-by tag below i don't see a reason to
specifically mention it in commit log message.
> tcf_act_police_init() which calls gen_replace_estimator() with
> spi
Laura reported a sleep-in-atomic kernel warning inside
tcf_act_police_init() which calls gen_replace_estimator() with
spinlock protection.
It is not necessary in this case, we already have RTNL lock here
so it is enough to protect concurrent writers. For the reader,
i.e. tcf_act_police(), it needs