Re: [PATCH] get_user_pages(..., write==1, ...) may return with readable pte.

From: Robin Holt
Date: Sat Oct 14 2006 - 06:16:28 EST


> dup_mmap holds mmap_sem for write. get_user_pages caller must hold it
> for read.

I could have sworn I checked for that and found a down_read(), but
now that I look when I have some time, it is clearly a down_write().
Sorry for the distraction.

It is a user job that is passing data between hosts. The host is
under heavy memory pressure and one rank of the MPI job gets silent
data corruption.

Thanks and sorry for wasting your time,
Robin
-
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/