[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix balloon handling of highmem pages



I knocked up a quick patch to fix the balloon driver's handling of highmem 
pages.  Should apply cleanly to the Linux dev tree.  I can also submit it for 
3.1 if wanted.

Without this, LowTotal can go negative (given it's an unsigned integer) and 
then appears as ~4Gig, which is a bit silly.

I beliee this fixes Anthony Wright's bug #733 in Bugzilla 
(http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=733).  Credit to 
Anthony for noticing the problem, and figuring out that he was actually 
seeing an unsigned int going "negative".

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

Attachment: fix-balloon-highmem.patch
Description: all/allfiles

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.