Re: [patch 9/9] mm: fix pagecache write deadlocks
From: Nick Piggin
Date: Sun Feb 04 2007 - 05:50:38 EST
On Sun, Feb 04, 2007 at 11:46:09AM +0100, Nick Piggin wrote:
>
> > It's better than taking mmap_sem and walking pagetables...
>
> I'm not convinced.
Though I am more convinced that looking at mm *at all* (either to
take the mmap_sem and find the vma, or to take the mmap_sem and
run get_user_pages) is going to hurt.
We'd have to special case kernel threads, which don't even have an
mm, let alone the vmas... too ugly.
I'll revert to my temporary-page approach: at least that will
fix the problem.
-
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/