Re: marching through all physical memory in software

From: Dave Jiang
Date: Wed Feb 04 2009 - 11:47:57 EST


There may be generic code, but the actual scrubbing can be architecture specific. You have to atomically read and write back. And each arch has different way of handling that. See arch/X/include/asm/edac.h

Pavel Machek wrote:
Software memory scrub would no longer be a "driver" :-). So it should
go into kernel/scrub or mm/scrub or maybe mm/edac or something.

--
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/