]> bbs.cooldavid.org Git - net-next-2.6.git/commit
net: u64_stats_fetch_begin_bh() and u64_stats_fetch_retry_bh()
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 24 Jun 2010 00:54:06 +0000 (00:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 06:24:30 +0000 (23:24 -0700)
commit33d91f00c73ba0012bce18c1690cb8313ca7adaa
tree71a927098b248685af4dede30d443ef73c344d16
parent7a9b2d59507d85569b8a456688ef40cf2ac73e48
net: u64_stats_fetch_begin_bh() and u64_stats_fetch_retry_bh()

- Must disable preemption in case of 32bit UP in u64_stats_fetch_begin()
and u64_stats_fetch_retry()

- Add new u64_stats_fetch_begin_bh() and u64_stats_fetch_retry_bh() for
network usage, disabling BH on 32bit UP only.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/u64_stats_sync.h