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

[Xen-devel] [Patch] Allow bitmasks with the badpage bootoption


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Erik Bosman" <ebosman@xxxxxxxxx>
  • Date: Tue, 4 Apr 2006 19:22:58 +0200
  • Delivery-date: Tue, 04 Apr 2006 10:23:19 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=rmvxS5aq3gGuNileWSth7JxHXvyR29Md1bWjWW1kVqzxZTnw7OnZGBUBFRjMGE7U4yJPCVHelesspNGHgMR94FkPx0DO2JbWpE14hv6xBKZjes6mJuPSAyJirN0pOhkZCVdFs20M5K4ryQCWlgryyIbwjIyFrDWeigO2v7/V//c=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

The current "badpage" boot option only allows you to select
individual pages, which is not an option for me, since I have
close to 32M of bad ram. My patch allows the use of masks
to select many pages at once, much like the linux BADRAM
patch.

Masks can be specified using a forward slash, like, for example:
badpage=0xa2000/0xef000,0x00100/0xfff00,0x01000

This way, it's compatible with the current scheme.

I also wrote a small testprogram to test the algorithm.

Regards,
Erik Bosman

Attachment: bad_page-mask.patch
Description: Text Data

Attachment: bad_page-mask-test.c
Description: Text Data

_______________________________________________
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®.