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]
Date:	Mon, 30 Mar 2009 11:59:00 -0700
From:	Jeremy Fitzhardinge <jeremy@...p.org>
To:	Rik van Riel <riel@...hat.com>
CC:	Dave Hansen <dave@...ux.vnet.ibm.com>,
	Martin Schwidefsky <schwidefsky@...ibm.com>, akpm@...l.org,
	nickpiggin@...oo.com.au, frankeh@...son.ibm.com,
	virtualization@...ts.osdl.org, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org, hugh@...itas.com
Subject: Re: [patch 0/6] Guest page hinting version 7.

Rik van Riel wrote:
> Jeremy Fitzhardinge wrote:
>
>> That said, people have been looking at tracking block IO to work out 
>> when it might be useful to try and share pages between guests under Xen.
>
> Tracking block IO seems like a bass-ackwards way to figure
> out what the contents of a memory page are.

Well, they're research projects, so nobody said that they're necessarily 
useful results ;).  I think the rationale is that, in general, there 
aren't all that many sharable pages, and asize from zero-pages, the bulk 
of them are the result of IO.  Since its much simpler to compare 
device+block references than doing page content matching, it is worth 
looking at the IO stream to work out what your candidates are.

> The KVM KSM code has a simpler, yet still efficient, way of
> figuring out which memory pages can be shared.
How's that?  Does it do page content comparison?

    J

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