Re: PATCH: EDAC - clean up atomic stuff

From: Alan Cox
Date: Tue Nov 01 2005 - 07:17:02 EST


> There is a much more serious bug there as well. The code as it
> exists is flatly impossible on x86_64 and some other architectures
> as they do not support kmap. It is also broken on x86 as grain can

All platforms have kmap. On systems without "highmem" the kmap functions
simply return the page address of the existing permanent physical
mapping for the page. See include/linux/highmem.h

So it's all fine and larger than page sized scrubs can be added to the
core code when they are needed.

Alan

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