From: Dan Magenheimer Subject: RE: Design question for PV superpage support Date: Tue, 3 Mar 2009 18:09:39 +0000 (GMT) Message-ID: References: <49AD68C7.5000305@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <49AD68C7.5000305@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Dave McCracken , Mick.Jordan@sun.com, Xen Developers List List-Id: xen-devel@lists.xenproject.org > Dan Magenheimer wrote: > > BTW, thinking ahead to ballooning with 2MB pages, are we prepared > > to assume that a relinquished 2MB page can't be fragmented? > > While this may be appealing for systems where nearly all > > guests are using 2MB pages, systems where the 2MB guest is > > an odd duck might suffer substantially by making that > > assumption. >=20 > Well, I still think that 4k pages are a ludicrously tiny unit=20 > of memory=20 > for Xen to be dealing with, and it shouldn't bother to get out of bed=20 > for less than 2M. If we treat 4k pages as the special case=20 > then keeping=20 > the Xen heap unfragmented at the 2M level should be fairly easy, no? Probably true, though I suspect this is harder than it sounds.