lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.02.1111152049210.1888@tux.localdomain>
Date:	Tue, 15 Nov 2011 20:49:35 +0200 (EET)
From:	Pekka Enberg <penberg@...nel.org>
To:	Yong Zhang <yong.zhang0@...il.com>
cc:	Shaohua Li <shaohua.li@...el.com>,
	Christoph Lameter <cl@...ux.com>,
	Julie Sullivan <kernelmail.jms@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: INFO: possible recursive locking detected: get_partial_node()
 on 3.2-rc1

On Tue, 15 Nov 2011, Yong Zhang wrote:
>> Subject: slub: move discard_slab out of node lock
>>
>> Lockdep reports there is potential deadlock for slub node list_lock.
>> discard_slab() is called with the lock hold in unfreeze_partials(),
>> which could trigger a slab allocation, which could hold the lock again.
>>
>> discard_slab() doesn't need hold the lock actually, if the slab is
>> already removed from partial list.
>>
>> Reported-and-tested-by: Yong Zhang <yong.zhang0@...il.com>
>> Reported-and-tested-by: Julie Sullivan <kernelmail.jms@...il.com>
>> Signed-off-by: Shaohua Li <shaohua.li@...el.com>
>
> Tested-by: Yong Zhang <yong.zhang0@...il.com>

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ