Messages in this thread | | | Date | Tue, 12 Sep 2006 18:47:29 -0400 | From | Rik van Riel <> | Subject | Re: [patch 1/9] Guest page hinting: unused / free pages. |
| |
Martin Schwidefsky wrote: > From: Martin Schwidefsky <schwidefsky@de.ibm.com> > From: Hubertus Franke <frankeh@watson.ibm.com> > From: Himanshu Raj <rhim@cc.gatech.edu> > > [patch 1/9] Guest page hinting: unused / free pages. > > A very simple but already quite effective improvement in the handling > of guest memory vs. host memory is to tell the host when pages are > free.
Would it be an idea to place this interface in-between the per-cpu free page lists and the buddy allocator, so we can move a batch of pages around at once and do the hinting in a batched fashion ?
That way the overhead will be acceptable not just on S390 (where things are millicoded), but also on hypervisor based virtualization like Xen.
Easy enough to pass a vector of pages to the hypervisor.
-- What is important? What you want to be true, or what is true? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |