From: Keir Fraser Subject: Re: [Patch] Allow bitmasks with the badpage bootoption Date: Wed, 5 Apr 2006 08:20:35 +0100 Message-ID: <49a267fe3eb03564486d6e7dbb21de83@cl.cam.ac.uk> References: Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Erik Bosman Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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