All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: "Yang, Sheng" <sheng.yang@intel.com>
Cc: kvm-devel@lists.sourceforge.net, Marcelo Tosatti <marcelo@kvack.org>
Subject: Re: KVM Test result, kernel 873c05f.., userspace d102d75..
Date: Thu, 24 Apr 2008 16:21:00 +0300	[thread overview]
Message-ID: <4810893C.2050101@qumranet.com> (raw)
In-Reply-To: <48108466.2080707@qumranet.com>

Avi Kivity wrote:
> Yang, Sheng wrote:
>> On Thursday 24 April 2008 19:37:03 Avi Kivity wrote:
>>  
>>> Yunfeng Zhao wrote:
>>>    
>>>> Hi All,
>>>>
>>>> This is today's KVM test result against kvm.git
>>>> 873c05fa7e6fea27090b1bf0f67a073eadb04782 and kvm-userspace.git
>>>> d102d750f397b543fe620a3c77a7e5e42c483865.
>>>>       
>>> I suspect 873c05fa7e6fea27090b1bf0f67a073eadb04782 itself, it's the 
>>> only
>>> thing that has any chance of badness.
>>>
>>> Marcelo, any idea?  Perhaps due to load, interrupts accumulate and 
>>> can't
>>> be injected fast enough?
>>>
>>> These tests are run on a 2.6.22 host, which has a hacked
>>> smp_call_function_single() in external-module-compat.h, which may
>>> exaberate the problem.
>>>     
>>
>> Yeah, I suspect the commit too(I tried tip without that, and found 
>> mostly alright). In fact, I didn't use kvm_vcpu_kick() just because 
>> that I found this function may causing hang on my host... But I 
>> didn't do more investigate so I can't tell what's wrong, then I just 
>> chose way to keep it working... I am sorry for not clarify...
>>   
>
> I think smp_call_function_single() is miscompiled when using the 
> compatibility code.  I took it out-of-line to be sure (it is now in 
> kernel/external-module-compat.c).
>
> No evidence, but...
>

Ok.  __pit_timer_fn() is called from an interrupt, which then calls 
smp_call_function_single(), which calls spin_lock().  If we've already 
taken the lock, we hang.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

  reply	other threads:[~2008-04-24 13:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24 10:30 KVM Test result, kernel 873c05f.., userspace d102d75 Yunfeng Zhao
2008-04-24 11:37 ` Avi Kivity
2008-04-24 12:59   ` Yang, Sheng
2008-04-24 13:00     ` Avi Kivity
2008-04-24 13:21       ` Avi Kivity [this message]
2008-04-24 13:32         ` Chris Lalancette
2008-04-24 13:44           ` Avi Kivity
2008-04-24 16:31             ` Marcelo Tosatti
2008-04-24 16:52               ` Avi Kivity

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=4810893C.2050101@qumranet.com \
    --to=avi@qumranet.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=marcelo@kvack.org \
    --cc=sheng.yang@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.