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: <4A5A3AC1.5080800@codemonkey.ws>
Date:	Sun, 12 Jul 2009 14:34:25 -0500
From:	Anthony Liguori <anthony@...emonkey.ws>
To:	Avi Kivity <avi@...hat.com>
CC:	Dan Magenheimer <dan.magenheimer@...cle.com>,
	Rik van Riel <riel@...hat.com>, linux-kernel@...r.kernel.org,
	npiggin@...e.de, akpm@...l.org, jeremy@...p.org,
	xen-devel@...ts.xensource.com, tmem-devel@....oracle.com,
	alan@...rguk.ukuu.org.uk, linux-mm@...ck.org,
	kurt.hackel@...cle.com, Rusty Russell <rusty@...tcorp.com.au>,
	dave.mccracken@...cle.com, Marcelo Tosatti <mtosatti@...hat.com>,
	sunil.mushran@...cle.com, Schwidefsky <schwidefsky@...ibm.com>,
	chris.mason@...cle.com, Balbir Singh <balbir@...ux.vnet.ibm.com>
Subject: Re: [RFC PATCH 0/4] (Take 2): transcendent memory ("tmem") for Linux

Avi Kivity wrote:
>
> In fact CMM2 is much more intrusive (but on the other hand provides 
> much more information).
I don't think this will remain true long term.  CMM2 touches a lot of 
core mm code and certainly qualifies as intrusive.  However the result 
is that the VMM has a tremendous amount of insight into how the guest is 
using it's memory and can implement all sorts of fancy policy for 
reclaim.  Since the reclaim policy can evolve without any additional 
assistance from the guest, the guest doesn't have to change as policy 
evolves.

Since tmem requires that reclaim policy is implemented within the guest, 
I think in the long term, tmem will have to touch a broad number of 
places within Linux.  Beside the core mm, the first round of patches 
already touch filesystems (just ext3 to start out with).  To truly be 
effective, tmem would have to be a first class kernel citizen and I 
suspect a lot of code would have to be aware of it.

So while CMM2 does a lot of code no one wants to touch, I think in the 
long term it would remain relatively well contained compared to tmem 
which will steadily increase in complexity within the guest.

Regards,

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