Re: [RFC] page fault retry with NOPAGE_RETRY

Hugh Dickins
2006-09-15T13:30:24Z

On Fri, 15 Sep 2006, Andrew Morton wrote:
>
> This assumes that no other heavyweight process will try to modify this
> single-threaded process's mm. I don't _think_ that happens anywhere, does
> it? access_process_vm() is the only case I can think of,

"Modify" in the sense of fault into.
Yes, access_process_vm() is all I can think of too.

> and it does down_read(other process's mmap_sem).

If there were anything else, it'd have to do so too (if not down_write).

I too like NOPAGE_RETRY: as you've both observed, it can help to solve
several different problems.

Hugh