From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikola Ciprich Subject: Re: kvm-85 sometimes not starting on 2.6.30-rc5 Date: Thu, 3 Sep 2009 10:04:24 +0200 Message-ID: <20090903080423.GA30785@develbox.linuxbox.cz> References: <20090513192249.GA5760@nik-comp.linuxbox.cz> <4A10733E.5000905@redhat.com> <20090523172001.GA2613@random.random> <4A1917C5.6080004@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrea Arcangeli , KVM list , nikola.ciprich@linuxbox.cz To: Avi Kivity Return-path: Received: from gw3.lbox.cz ([62.245.111.133]:46330 "EHLO develbox.linuxbox.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753627AbZICIeF (ORCPT ); Thu, 3 Sep 2009 04:34:05 -0400 Content-Disposition: inline In-Reply-To: <4A1917C5.6080004@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hi, somehow this thread ended without any conclusion. Today I noticed that BUG: MAX_LOCK_DEPTH too low! still shows up when starting kvm on 2.6.31-rc8 So is increasing MAX_LOCK_DEPTH to say 96 good way to go? If yes, shouldn't we set this for upstream kernel? thanks nik On Sun, May 24, 2009 at 12:47:49PM +0300, Avi Kivity wrote: > Andrea Arcangeli wrote: >> On Sun, May 17, 2009 at 11:27:42PM +0300, Avi Kivity wrote: >> >>> Andrea, looks like the mother of all locks below. >>> >> >> eheh yes that really is the mother of all locks ;). >> >> So the thing is, like BUG says MAX_LOCK_DEPTH is too low, to fix you >> should rebuild after increasing it in include/linux/sched.h to say 96. >> >> Likely somebody changed qemu-kvm over time in a way that allocates >> more vmas than before. >> > > It does, we now have a vma for each discontiguous memory region (640K, > vga bios, bios, 1M+ memory, framebuffer, 4G+ memory). > > Still, we have a lot more vmas in qemu for the various dynamic > libraries, etc. I'm surprised it made such a difference. > > -- > error compiling committee.c: too many arguments to function > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- ------------------------------------- Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis@linuxbox.cz -------------------------------------