[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Faulting in pages from within the kernel?



Is it possible to "fault in" pages from within the kernel? I think the answer is no, but I'd like to hear from someone who understands this better than I do.

I'm really just interested in minor page faults. We have a situation in our driver where a particular user-space page is locked but there's no PTE entry for it. Touching the page in user-space will cause a minor page fault, and that will rebuild the PTE. I'd like to be able to do that from within our driver. Is there any way to do that?

--
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/