Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756771AbZA0UQ5 (ORCPT ); Tue, 27 Jan 2009 15:16:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751625AbZA0UQt (ORCPT ); Tue, 27 Jan 2009 15:16:49 -0500 Received: from out02.mta.xmission.com ([166.70.13.232]:37886 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbZA0UQs (ORCPT ); Tue, 27 Jan 2009 15:16:48 -0500 To: "Chris Friesen" Cc: Arjan van de Ven , linux-kernel@vger.kernel.org, Doug Thompson , , Subject: Re: marching through all physical memory in software References: <497DD8E5.1040305@nortel.com> <20090126075957.69b64a2e@infradead.org> <497F5289.404@nortel.com> From: ebiederm@xmission.com (Eric W. Biederman) Date: Tue, 27 Jan 2009 12:16:52 -0800 In-Reply-To: <497F5289.404@nortel.com> (Chris Friesen's message of "Tue\, 27 Jan 2009 12\:29\:29 -0600") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-XM-SPF: eid=;;;mid=;;;hst=mx04.mta.xmission.com;;;ip=24.130.11.59;;;frm=ebiederm@xmission.com;;;spf=neutral X-SA-Exim-Connect-IP: 24.130.11.59 X-SA-Exim-Rcpt-To: too long (recipient list exceeded maximum allowed size of 128 bytes) X-SA-Exim-Mail-From: ebiederm@xmission.com X-SA-Exim-Version: 4.2.1 (built Thu, 07 Dec 2006 04:40:56 +0000) X-SA-Exim-Scanned: No (on mx04.mta.xmission.com); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1177 Lines: 33 "Chris Friesen" writes: > Arjan van de Ven wrote: >> On Mon, 26 Jan 2009 09:38:13 -0600 >> "Chris Friesen" wrote: >> >>> Someone is asking me about the feasability of "scrubbing" system >>> memory by accessing each page and handling the ECC faults. >>> >> >> Hi, >> >> I would suggest that you look at the "edac" subsystem, which tries to >> do exactly this.... > edac appears to currently be able to scrub the specific page where the fault > occurred. This is a useful building block, but doesn't provide the ability to > march through all of physical memory. Well that is the tricky part. The rest is simply finding which physical addresses are valid. Either by querying the memory controller or looking at the range the BIOS gave us. That part should not be too hard. I think it simply has not been implemented yet as most ECC chipsets implement this in hardware today. Eric -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/