question regarding to read memory in page fault handler

From: Xin Zhao
Date: Wed Mar 22 2006 - 10:26:29 EST


Hi,

I want to read the page content after the page fault handler load a
page. I know the memory address. Can I simply copy the data from that
address to my destination buffer using memcpy()? I tried, but there
must be somthing wrong, the result is not right. :(

Thanks in advance!
Xin
-
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/