All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chris Friesen" <cfriesen@nortel.com>
To: linux-kernel@vger.kernel.org, linux-mm <linux-mm@kvack.org>
Subject: how to tell if arbitrary kernel memory address is backed by physical memory?
Date: Thu, 16 Apr 2009 09:37:46 -0600	[thread overview]
Message-ID: <49E750CA.4060300@nortel.com> (raw)

Hi all,

Quick question to the memory management folks.

Is there a portable way to tell whether a particular virtual address in 
the lowmem address range is backed by physical memory and is readable?

For background...we have some guys working on a software memory scrubber 
for an embedded board.  The memory controller supports ECC but doesn't 
support scrubbing  in hardware.  What we want to do is walk all of 
lowmem, reading in memory.  If a fault is encountered, it will be 
handled by other code.

Thanks,

Chris

WARNING: multiple messages have this Message-ID (diff)
From: "Chris Friesen" <cfriesen@nortel.com>
To: linux-kernel@vger.kernel.org, linux-mm <linux-mm@kvack.org>
Subject: how to tell if arbitrary kernel memory address is backed by physical memory?
Date: Thu, 16 Apr 2009 09:37:46 -0600	[thread overview]
Message-ID: <49E750CA.4060300@nortel.com> (raw)

Hi all,

Quick question to the memory management folks.

Is there a portable way to tell whether a particular virtual address in 
the lowmem address range is backed by physical memory and is readable?

For background...we have some guys working on a software memory scrubber 
for an embedded board.  The memory controller supports ECC but doesn't 
support scrubbing  in hardware.  What we want to do is walk all of 
lowmem, reading in memory.  If a fault is encountered, it will be 
handled by other code.

Thanks,

Chris

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2009-04-16 15:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 15:37 Chris Friesen [this message]
2009-04-16 15:37 ` how to tell if arbitrary kernel memory address is backed by physical memory? Chris Friesen
2009-04-16 20:58 ` Christoph Lameter
2009-04-16 20:58   ` Christoph Lameter
2009-04-17 16:15   ` Chris Friesen
2009-04-17 16:15     ` Chris Friesen
2009-04-17 16:27     ` Christoph Lameter
2009-04-17 16:27       ` Christoph Lameter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49E750CA.4060300@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.