Thread (4 messages) 4 messages, 2 authors, 2011-12-16

Re: [PATCH 1/2] net: fix sleeping while atomic problem in sock mem_cgroup.

From: David Miller <hidden>
Date: 2011-12-16 20:37:49
Also in: lkml, netdev

From: Glauber Costa <redacted>
Date: Fri, 16 Dec 2011 14:51:59 +0400
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 <redacted>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help