WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Erik Bosman" <ebosman@xxxxxxxxx>
Subject: Re: [Xen-devel] [Patch] Allow bitmasks with the badpage bootoption
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 5 Apr 2006 08:20:35 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Apr 2006 00:23:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <c535152a0604041022s35aaa391labac6cd1be94db39@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <c535152a0604041022s35aaa391labac6cd1be94db39@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 4 Apr 2006, at 18:22, Erik Bosman wrote:

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

The masking scheme is unnecessarily restrictive. Why not just allow specification of inclusive ranges of pages? For example: badpage=0xa2000-0xa2fff,0x100-0x1ff,0x123-0x456

 -- Keir


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