On Sun, Nov 27, 2011 at 9:19 AM, Luis Useche <use...@gmail.com> wrote: ... > The idea is to create this temporary mapping after we make sure the > access was valid but the page was not in memory. ... > I am not proposing to trace the fault handler. My idea is to single > step the last user-space instruction of the process in the fault > handler to obtain the data that it was trying to write and return so > the process can continue. > > Example: > > map_pte(cr2, tmp_page) > single_step(cur) > unmap_pte(cr2)
I've read what you've read three times and I still don't understand what problem you're trying to solve. Philip Guenther