Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755364AbYHMJBU (ORCPT ); Wed, 13 Aug 2008 05:01:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752478AbYHMJBF (ORCPT ); Wed, 13 Aug 2008 05:01:05 -0400 Received: from il.qumranet.com ([212.179.150.194]:58413 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752380AbYHMJBF (ORCPT ); Wed, 13 Aug 2008 05:01:05 -0400 Message-ID: <48A2A2CF.3050703@qumranet.com> Date: Wed, 13 Aug 2008 12:01:03 +0300 From: Avi Kivity User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Johannes Weiner CC: Max Krasnyansky , LKML , andrea@qumranet.com, Peter Zijlstra Subject: Re: Circular vma locking with kvm, seems to be mmu notifiers related References: <48A0D6A9.4030603@qualcomm.com> <48A29D0D.9010801@qumranet.com> <87od3x9u61.fsf@skyscraper.fehenstaub.lan> In-Reply-To: <87od3x9u61.fsf@skyscraper.fehenstaub.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1364 Lines: 45 Johannes Weiner wrote: > Hi Avi, > > Avi Kivity writes: > > >> Max Krasnyansky wrote: >> >>> Got this on the latest mainline git. >>> There are already a couple of lockdep/kvm threads. So maybe it's known. >>> >>> ============================================= >>> [ INFO: possible recursive locking detected ] >>> 2.6.27-rc2 #36 >>> --------------------------------------------- >>> qemu-system-x86/3445 is trying to acquire lock: >>> (&anon_vma->lock){--..}, at: [] mm_take_all_locks+0x8d/0xf0 >>> >>> but task is already holding lock: >>> (&anon_vma->lock){--..}, at: [] mm_take_all_locks+0x8d/0xf0 >>> >>> >>> >> Seems to be a false positive. mmu_take_all_locks takes (surprise!) >> all anon_vma->locks belonging to an mm, and takes special care not to >> deadlock while doing this. >> >> We need to communicate this to lockdep somehow. >> > > I think Peter already annotated this in > 454ed842d55740160334efc9ad56cfef54ed37bc . > > Excellent, thanks for the info. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/