lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DFEFE8A.4050101@redhat.com>
Date:	Mon, 20 Jun 2011 11:02:18 +0300
From:	Avi Kivity <avi@...hat.com>
To:	Gleb Natapov <gleb@...hat.com>
CC:	Glauber Costa <glommer@...hat.com>, kvm@...r.kernel.org,
	linux-kernel@...r.kernel.org, Rik van Riel <riel@...hat.com>,
	Jeremy Fitzhardinge <jeremy.fitzhardinge@...rix.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Anthony Liguori <aliguori@...ibm.com>,
	Eric B Munson <emunson@...bm.net>
Subject: Re: [PATCH 3/7] KVM-HV: KVM Steal time implementation

On 06/20/2011 10:21 AM, Gleb Natapov wrote:
> On Sun, Jun 19, 2011 at 04:02:22PM +0300, Avi Kivity wrote:
> >  On 06/19/2011 03:59 PM, Gleb Natapov wrote:
> >  >On Sun, Jun 19, 2011 at 03:35:58PM +0300, Avi Kivity wrote:
> >  >>   On 06/15/2011 12:09 PM, Gleb Natapov wrote:
> >  >>   >>
> >  >>   >>    Actually, I'd expect most read/writes to benefit from caching, no?
> >  >>   >>    So why don't we just rename kvm_write_guest_cached() to
> >  >>   >>    kvm_write_guest(), and the few places - if any - that need to force
> >  >>   >>    transversing of the gfn mappings, get renamed to
> >  >>   >>    kvm_write_guest_uncached ?
> >  >>   >>
> >  >>   >Good idea. I do not see any places where kvm_write_guest_uncached is
> >  >>   >needed from a brief look. Avi?
> >  >>   >
> >  >>
> >  >>   kvm_write_guest_cached() needs something to supply the cache, and
> >  >>   needs recurring writes to the same location.  Neither of these are
> >  >>   common (for example, instruction emulation doesn't have either).
> >  >>
> >  >Correct. Missed that. So what about changing steal time to use
> >  >kvm_write_guest_cached()?
> >
> >  Makes sense, definitely.  Want to post read_guest_cached() as well?
> >
> Glauber can you write read_guest_cached() as part of your series (should
> be trivial), or do you want me to do it? I do not have a code to test it
> with though :)

Yes.

(you can write it, and Glauber can include it in the series)

-- 
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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ