Messages in this thread | | | Date | Mon, 26 Jan 2009 09:38:13 -0600 | From | "Chris Friesen" <> | Subject | marching through all physical memory in software |
| |
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
| |