This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] pvops-dom0 console freezes after latest ballooning patch (+p

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] pvops-dom0 console freezes after latest ballooning patch (+possible fix)
From: Ronny.Hegewald@xxxxxxxxx
Date: Wed, 9 Dec 2009 20:22:19 +0100 (CET)
Delivery-date: Wed, 09 Dec 2009 11:22:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Setup: xen 3.4.1, 32-bit linux dom0 from pvops-git tree from 2009-12-03

Since the latest ballooning patch "Add hugepage support to balloon driver" i experience dom0 console freezes. Additional to that there is a stacktrace about a kernel-bug in drivers/xen/balloon.c in line 346, invalide opcode 0000 (i can send the full stacktrace if someone is interested).

The cause for that seems to be that in the decrease_reservation-funtion the PageHighMem - check is not executed on the assocciated page for the current pfn. Its always the last page that got allocated in the for-loop before, when all the pages are allocated.

With the attached patch that crashes dont occur anymore. But im not a kernel-developer so im not sure that this is the correct fix.

Attachment: balloon.patch
Description: Binary data

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>