aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm
diff options
context:
space:
mode:
authorGlauber Costa <glommer@parallels.com>2011-12-16 00:51:59 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-16 15:35:17 -0500
commit36b77a52087a9fca4228c06e0730750f9b6468f0 (patch)
tree90812a9ce9964e051f5fd286647509560b98ae00 /arch/frv/include/asm
parentcb9ffb76949cd7b17c8468f8bf10d0ff75d4cdd2 (diff)
downloadkernel_goldelico_gta04-36b77a52087a9fca4228c06e0730750f9b6468f0.zip
kernel_goldelico_gta04-36b77a52087a9fca4228c06e0730750f9b6468f0.tar.gz
kernel_goldelico_gta04-36b77a52087a9fca4228c06e0730750f9b6468f0.tar.bz2
net: fix sleeping while atomic problem in sock mem_cgroup.
We can't scan the proto_list to initialize sock cgroups, as it holds a rwlock, and we also want to keep the code generic enough to avoid calling the initialization functions of protocols directly, Convert proto_list_lock into a mutex, so we can sleep and do the necessary allocations. This lock is seldom taken, so there shouldn't be any performance penalties associated with that Signed-off-by: Glauber Costa <glommer@parallels.com> CC: Hiroyouki Kamezawa <kamezawa.hiroyu@jp.fujitsu.com> CC: David S. Miller <davem@davemloft.net> CC: Eric Dumazet <eric.dumazet@gmail.com> CC: Stephen Rothwell <sfr@canb.auug.org.au> CC: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/frv/include/asm')
0 files changed, 0 insertions, 0 deletions