[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090130135617.GA16106@ff.dom.local>
Date: Fri, 30 Jan 2009 13:56:17 +0000
From: Jarek Poplawski <jarkao2@...il.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Martin MOKREJŠ
<mmokrejs@...osome.natur.cuni.cz>, akpm@...ux-foundation.org,
netdev@...r.kernel.org, bugme-daemon@...zilla.kernel.org,
vegard.nossum@...il.com, a.p.zijlstra@...llo.nl,
davem@...emloft.net
Subject: Re: [Bugme-new] [Bug 12515] New: possible circular locking #0:
(sk_lock-AF_PACKET){--..}, at: [<c1279838>]
sock_setsockopt+0x12b/0x4a4
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists