[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090915.013140.97444184.davem@davemloft.net>
Date: Tue, 15 Sep 2009 01:31:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: oliver@...tkopp.net
Cc: stable@...nel.org, netdev@...r.kernel.org, urs@...ogud.escape.de,
mb@...sch.de
Subject: Re: [PATCH] can: fix NOHZ local_softirq_pending 08 warning
From: Oliver Hartkopp <oliver@...tkopp.net>
Date: Tue, 15 Sep 2009 08:57:54 +0200
> When using nanosleep() in an userspace application we get a ratelimit warning
>
> NOHZ: local_softirq_pending 08
>
> for 10 times.
>
> The echo of CAN frames is done from process context and softirq context only.
> Therefore the usage of netif_rx() was wrong (for years).
>
> This patch replaces netif_rx() with netif_rx_ni() which has to be used from
> process/softirq context. It also adds a missing comment that can_send() must
> no be used from hardirq context.
>
> Signed-off-by: Oliver Hartkopp <oliver@...tkopp.net>
> Signed-off-by: Urs Thuermann <urs@...ogud.escape.de>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists