![]() | ||||||||||
Messages in this thread |
On 4/28/05, Chris Wedgwood <cw@f00f.org> wrote: > On Thu, Apr 28, 2005 at 11:45:40PM -0700, Gilles Pokam wrote: > > > the simplest way to say is: I want the pagefault handler to return a > > memory page when it encounters a pagefault exceptions due to an > > invalid address or incorrect page protection. > > where should this page come from? One way is to make the pagefault handler return a new vma that contains the faulty address when such a scenario is encountered. The normal pagefault mechanism will then apply by the time that address gets accessed again since the address will now be valid. So a page will be allocated. But I don't know how what should be changed in the kernel to enable this behavior. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2005-04-29 07:15 [from the cache] ©2003-2008 | ||||||||||