On Sat, Jun 21, 2008 at 06:07:41PM +0400, Oleg Nesterov wrote: > On 06/21, Oleg Nesterov wrote: > > > > No functional changes. > > Heh. > > > 2. Move "foll_flags |= FOLL_WRITE;" from the inner loop up. > > Please ignore this patch, it is wrong. FOLL_WRITE can be cleared after > handle_mm_fault().
Patch 1/2 is good, though. Please get it upstream.