Re: [PATCH] macb: Add support of the netpoll API

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Friday, April 17, 2009 - 1:34 am

From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Thu, 16 Apr 2009 11:24:35 +0200


And in response to this Haavard explained the potential deadlock
(sorry I deleted that email) and suggested to use local_irq_save()

But that won't work either, because it doesn't prevent the interrupt
handler from running on other cpus, it only prevents that on the
local cpu.

But I do wonder, because a lot of drivers do in fact use that
disable_irq() scheme to implement ->poll_controller().

I suppose one just needs to be careful about using printk from
the interrupt handler when supporting netpoll.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] macb: Add support of the netpoll API, Thomas Petazzoni, (Wed Apr 15, 6:46 am)
Re: [PATCH] macb: Add support of the netpoll API, Haavard Skinnemoen, (Thu Apr 16, 2:07 am)
Re: [PATCH] macb: Add support of the netpoll API, Thomas Petazzoni, (Thu Apr 16, 2:24 am)
Re: [PATCH] macb: Add support of the netpoll API, Haavard Skinnemoen, (Thu Apr 16, 3:31 am)
Re: [PATCH] macb: Add support of the netpoll API, David Miller, (Fri Apr 17, 1:34 am)
Re: [PATCH] macb: Add support of the netpoll API, Haavard Skinnemoen, (Fri Apr 17, 2:07 am)
Re: [PATCH] macb: Add support of the netpoll API, David Miller, (Fri Apr 17, 2:08 am)
Re: [PATCH] macb: Add support of the netpoll API, Haavard Skinnemoen, (Fri Apr 17, 2:25 am)
Re: [PATCH] macb: Add support of the netpoll API, David Miller, (Fri Apr 17, 2:33 am)
Re: [PATCH] macb: Add support of the netpoll API, Haavard Skinnemoen, (Fri Apr 17, 2:50 am)
Re: [PATCH] macb: Add support of the netpoll API, David Miller, (Fri Apr 17, 3:44 am)
Re: [PATCH] macb: Add support of the netpoll API, David Miller, (Fri Apr 17, 4:39 am)
Re: [PATCH] macb: Add support of the netpoll API, Haavard Skinnemoen, (Fri Apr 17, 4:41 am)
[PATCH] macb: Add support of the netpoll API, Haavard Skinnemoen, (Mon Apr 20, 3:57 am)
Re: [PATCH] macb: Add support of the netpoll API, David Miller, (Tue Apr 21, 1:54 am)
[PATCH v3] macb: Add support of the netpoll API, Haavard Skinnemoen, (Mon May 4, 4:54 am)
Re: [PATCH v3] macb: Add support of the netpoll API, David Miller, (Mon May 4, 11:08 am)