Here is a set of small patches that enables hugetlb on PV machines. They are against xen-unstable and linux-2.6.18-xen. The patches are specifically for x86_64. I originally had these patches working back in May, but recently for some reason my machine now refuses to boot the baseline xen-unstable, so I''ve been unable to verify them. However, they should still work. Comments, bug reports, and suggestions are welcome. Dave McCracken Oracle Corp. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dave McCracken
2008-Jul-24 13:48 UTC
[Xen-devel] [PATCH 1/2] PV Hugetlb support - Hypervisor portion
Here is the hypervisor portion of hugetlb support for PV machines. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dave McCracken
2008-Jul-24 13:50 UTC
[Xen-devel] [PATCH 2/2] PV hugetlb support - kernel portion
Here is the patch against the kernel that enables hugetlb support for PV machines. Dave McCracken Oracle Corp. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dave McCracken
2008-Jul-24 13:51 UTC
[Xen-devel] [PATCH 1/2] PV Hugetlb support - Hypervisor portion
On Thursday 24 July 2008, Dave McCracken wrote:> Here is the hypervisor portion of hugetlb support for PV machines.Oops. Here''s really the hypervisor portion. The first one was a copy of the kernel portion. Dave McCracken Oracle Corp. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
>>> Dave McCracken <dcm@mccr.org> 24.07.08 15:45 >>> > >Here is a set of small patches that enables hugetlb on PV machines. They are >against xen-unstable and linux-2.6.18-xen. > >The patches are specifically for x86_64. > >I originally had these patches working back in May, but recently for some >reason my machine now refuses to boot the baseline xen-unstable, so I''ve been >unable to verify them. However, they should still work. > >Comments, bug reports, and suggestions are welcome.I must be missing something, but I can''t see how you guarantee the super pages to be contiguous in machine memory. And even if you did, the hypervisor would still need to do accounting on all the 4k portions a super page consists of when it gets mapped/unmapped. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2008-Jul-24 14:50 UTC
Re: [Xen-devel] [PATCH 0/2] Add hugetlb support for PV
Jan Beulich wrote:>>>> Dave McCracken <dcm@mccr.org> 24.07.08 15:45 >>> >>>> >> Here is a set of small patches that enables hugetlb on PV machines. They are >> against xen-unstable and linux-2.6.18-xen. >> >> The patches are specifically for x86_64. >> >> I originally had these patches working back in May, but recently for some >> reason my machine now refuses to boot the baseline xen-unstable, so I''ve been >> unable to verify them. However, they should still work. >> >> Comments, bug reports, and suggestions are welcome. >> > > I must be missing something, but I can''t see how you guarantee the > super pages to be contiguous in machine memory. And even if you did, > the hypervisor would still need to do accounting on all the 4k portions > a super page consists of when it gets mapped/unmapped. >Yeah, I''m pretty sure there has to be a lot more to it than that. J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel