Re: [RFC] page fault retry with NOPAGE_RETRY

From: Hugh Dickins
Date: Fri Sep 15 2006 - 09:31:16 EST


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