Re: Anticipatory prefaulting in the page fault handler V1

From: Martin J. Bligh
Date: Mon Dec 13 2004 - 17:28:29 EST


>> I also encountered processes segfault.
>> Below patch fix several problems.
>>
>> 1) if no pages could allocated, returns VM_FAULT_OOM
>> 2) fix duplicated pte_offset_map() call
>
> I also saw these two issues and I think I dealt with them in a forthcoming
> patch.
>
>> 3) don't set_pte() for the entry which already have been set
>
> Not sure how this could have happened in the patch.
>
> Could you try my updated version:

Urgle. There was a fix from Hugh too ... any chance you could just stick
a whole new patch somewhere? I'm too idle/stupid to work it out ;-)

M.

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