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 - 4:39 am

From: David Miller <davem@davemloft.net>
Date: Fri, 17 Apr 2009 03:44:16 -0700 (PDT)


Ok, after doing some research, the reason seems to be that
drivers which have lockless IRQ handlers have to do things
this way to guarentee other cpus are not inside of the
interrupt handler.

Since we are using a lock here, local_irq_save(), or disabling
IRQs in the ethernet chip itself, should work fine.

So I'm OK with the local_irq_save() idea, someone please post
the patch.
--
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)