public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Nikola Ciprich <extmaillist@linuxbox.cz>
To: Avi Kivity <avi@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>,
	KVM list <kvm@vger.kernel.org>,
	nikola.ciprich@linuxbox.cz
Subject: Re: kvm-85 sometimes not starting on 2.6.30-rc5
Date: Thu, 3 Sep 2009 10:04:24 +0200	[thread overview]
Message-ID: <20090903080423.GA30785@develbox.linuxbox.cz> (raw)
In-Reply-To: <4A1917C5.6080004@redhat.com>


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
-------------------------------------

      reply	other threads:[~2009-09-03  8:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13 19:22 kvm-85 sometimes not starting on 2.6.30-rc5 Nikola Ciprich
2009-05-17 20:27 ` Avi Kivity
2009-05-23 17:20   ` Andrea Arcangeli
2009-05-24  9:47     ` Avi Kivity
2009-09-03  8:04       ` Nikola Ciprich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090903080423.GA30785@develbox.linuxbox.cz \
    --to=extmaillist@linuxbox.cz \
    --cc=aarcange@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=nikola.ciprich@linuxbox.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox