Dealing with memory error

Mikko Ala-Fossi (malafoss@cc.hut.fi)
Fri, 9 May 1997 00:40:06 +0300 (EET DST)


Friend of mine has a memory problem. Just one bit out of whole 64MB
memory space is stuck to 1. How can I reserve and lock the page that has
an error? Is it ok just to use

struct free_area_struct * area = free_area+order;
MARK_USED((address_of_memory_error << PAGE_SHIFT) - PAGE_OFFSET, area);

to ensure that linux won't use the page? Providing that the page is in
userspace, of course.

It would probably be a good idea to have this kind of feature
as a kernel boot parameter. (if it isn't there already)