Re: [patch 2/5] mm: fault vs invalidate/truncate race fix

From: Benjamin Herrenschmidt
Date: Fri Oct 20 2006 - 21:55:52 EST



> Without looking at any code, perhaps we could instead run get_user_pages
> and copy the memory that way.

I have a deep hatred for get_user_pages().... maybe not totally rational
though :) It will also only work with things that are actually backed up
by struct page. Is that ok in your case ?

Ben.


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