On 09/27/2010 04:48 PM, Marc Kleine-Budde wrote:
> On 09/27/2010 08:44 AM, David Jander wrote:
>>>> 1.- When just started the interface, a few of the first CAN messages to
>>>> arrive are being discarded, because of some strange race condition (I
>>>> have NOHZ enabled). I get the following kenel messages (10 times):
>>>>
>>>>  NOHZ: local_softirq_pending 08
> 
>>> I see the same message on my laptop to which I connected an external
>>> (USB) ISDN adapter. A quick question to google showed me this:
>>> http://patchwork.ozlabs.org/patch/33630/ which can be related.
>>
>> Interesting. I haven't checked, but either this patch isn't in mainline yet 
>> (one year later), or this isn't the same problem...
> 
> It seems to be the same problem, but you have to use "netif_rx_ni()" in
> the mcp251x driver.

using netif_rx_ni works here, i.e. no further local_softirq_pending
messages.

cheers, Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to