Skip to contentSkip to conversation

Return unused memory to hypervisor

PATCH Miroslav Rezanina 2 participants 2 messages Sep 17, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1772017457.205391253162074470.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com

#1 lore raw
Quoted 11 lines · ----- "Konrad Rzeszutek Wilk

From: "Konrad Rzeszutek Wilk" <[email protected]>
To: "Miroslav Rezanina" <[email protected]>
Cc: "Jeremy Fitzhardinge" <[email protected]>, [email protected], [email protected]
Sent: Wednesday, September 16, 2009 3:24:56 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: [Xen-devel] Re: [PATCH][v2.6.29][XEN] Return unused memory to hypervisor

. snip ..

Review static __init void

Quoted 3 lines

static void xen_vcpu_setup(int cpu)
{

(quoted diff) +0 -0
@@ -1057,6 +1111,8 @@ static __init void

xen_post_allocator_init(void)

Quoted 9 lines

Review static __init void · line 1115

Quoted 5 lines
(quoted diff) +2 -0
 	SetPagePinned(virt_to_page(level3_user_vsyscall));
 #endif
 	xen_mark_init_mm_pinned();
+
+/*	xen_return_unused_memory(); */

Should this be commented out? Or do you plan to provide another patch to enable this after extensive testing?

Ups.....This should not be commented out. I will resent the patch with correct (uncommented) line.

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
Miroslav Rezanina
Software Engineer - Virtualization Team - XEN kernel
#2 lore raw
Quoted 2 lines · Miroslav Rezanina

Ups.....This should not be commented out. I will resent the patch with correct (uncommented) line.

I've already applied a variant of your patch. Check the rebase/core-freemem branch in xen.git.

J