Re: [PATCH net-next] net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irq
From: David Miller <davem@davemloft.net>
Date: 2014-03-15 02:41:14
From: David Miller <davem@davemloft.net>
Date: 2014-03-15 02:41:14
From: ebiederm@xmission.com (Eric W. Biederman) Date: Thu, 13 Mar 2014 21:26:42 -0700
Replace the bh safe variant with the hard irq safe variant. We need a hard irq safe variant to deal with netpoll transmitting packets from hard irq context, and we need it in most if not all of the places using the bh safe variant. Except on 32bit uni-processor the code is exactly the same so don't bother with a bh variant, just have a hard irq safe variant that everyone can use. Signed-off-by: "Eric W. Biederman" <redacted>
This looks great. I'm going to apply this to the net-next tree, I hope the block folks don't mind.