All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Avi Kivity <avi@redhat.com>
Cc: Joerg Roedel <joerg.roedel@amd.com>,
	Dietmar Maurer <dietmar@proxmox.com>, kvm <kvm@vger.kernel.org>
Subject: Re: problem wit svm_get_msr on kvm-kmod-2.6.31.6
Date: Tue, 17 Nov 2009 18:00:01 +0100	[thread overview]
Message-ID: <4B02D691.9050800@siemens.com> (raw)
In-Reply-To: <4B029489.60302@redhat.com>

Avi Kivity wrote:
> On 11/17/2009 11:59 AM, Jan Kiszka wrote:
>> Jan Kiszka wrote:
>>    
>>> Dietmar Maurer wrote:
>>>      
>>>> Hi Jan,
>>>>
>>>> The ubuntu code puts some barrier around the read.
>>>>
>>>> http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commitdiff;h=198b348d96c9769153e72ca2461f8d841ddff1cc
>>>>
>>>> You simply override this with your own code - without barrier. Do you think this is correct?
>>>>        
>>> Unless I messed it up again, I "overwrote" it with what is in latest
>>> mainline regarding native_read_tsc. But I will check once more.
>>>      
>> The removal of those barriers came with
>> 0d12cdd5f883f508d33b85c1bae98fa28987c8c7 (sched: improve sched_clock()
>> performance). So this is now an upstream question:
>>
>> Do we bother about the precision of native_read_tsc in svm or not?
>>
>>    
> 
> I doubt it matters.  rdtsc will be followed by a return to the guest or 
> userspace, either of which is expensive enough to swamp any speculation.
> 

Right. So the kvm-kmod replacement is also fine.

Dietmar, if you could confirm that your issue is fixed, I would roll out
a kvm-kmod-2.6.31.6b, likely the last version of this series. The .32
series will be updated on 2.6.32-final or the next KVM-affecting -rc
release.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

  reply	other threads:[~2009-11-17 17:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16  9:42 problem wit svm_get_msr on kvm-kmod-2.6.31.6 Dietmar Maurer
2009-11-16 10:18 ` Avi Kivity
2009-11-16 10:46   ` Dietmar Maurer
2009-11-16 10:52     ` Avi Kivity
2009-11-16 11:17       ` Dietmar Maurer
2009-11-16 12:01         ` Avi Kivity
2009-11-16 12:03           ` Jan Kiszka
2009-11-16 12:06             ` Avi Kivity
2009-11-16 12:08               ` Jan Kiszka
2009-11-16 12:11                 ` Avi Kivity
2009-11-17  8:14             ` Dietmar Maurer
2009-11-17  9:50               ` Jan Kiszka
2009-11-17  9:59                 ` Jan Kiszka
2009-11-17 12:18                   ` Avi Kivity
2009-11-17 17:00                     ` Jan Kiszka [this message]
2009-11-18  7:07                       ` Dietmar Maurer
2009-11-17  9:59                 ` Dietmar Maurer
2009-11-16 12:02         ` Jan Kiszka

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=4B02D691.9050800@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=avi@redhat.com \
    --cc=dietmar@proxmox.com \
    --cc=joerg.roedel@amd.com \
    --cc=kvm@vger.kernel.org \
    /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.