Robin Holt wrote: > So far, I think the case for setting VM_FAULT_RACE only when there > is a conflict for writable seems strong. > But that's 1162 collisions out of how many faults? And only on the get_user_pages faults does the return value really make a difference. How about the following? This should catch some cases. You still miss the case where you're racing with anotyher writer though. -- SUSE Labs, Novell Inc.