marching through all physical memory in software

From: Chris Friesen
Date: Mon Jan 26 2009 - 10:50:16 EST


Someone is asking me about the feasability of "scrubbing" system memory by accessing each page and handling the ECC faults.

The range of PAGE_OFFSET to "high_memory" should get me all of the kernel memory area, but what about all the memory set aside for userspace (which may not be contiguous)? Is there any straightforward way to march through this memory?

I suppose I'm looking for something like walk_page_range(), but for physical memory rather than virtual.

Thanks,

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/