Thread (9 messages) 9 messages, 5 authors, 2009-01-30

Re: [Bugme-new] [Bug 12515] New: possible circular locking #0: (sk_lock-AF_PACKET){--..}, at: [<c1279838>] sock_setsockopt+0x12b/0x4a4

From: Jarek Poplawski <hidden>
Date: 2009-01-30 13:56:27

On Fri, Jan 30, 2009 at 11:49:47PM +1100, Herbert Xu wrote:
...
Dave pointed out that a spin lock is illegal for this purpose
as vm_insert_page can do a GFP_KERNEL allocation.  So I've added
a mutex for this.
...
I resisted the temptation to create a new spin lock because the
mmap path isn't exactly common.
So, Dave is stronger than the temptation...

Jarek P.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help