Thread (9 messages) 9 messages, 3 authors, 2005-07-31

Re: get_user_pages() with write=1 and force=1 gets read-only pages.

From: Robin Holt <hidden>
Date: 2005-07-31 10:52:34

Should there be a check to ensure we don't return VM_FAULT_RACE when the
pte which was inserted is exactly the same one we would have inserted?
Could we generalize that more to the point of only returning VM_FAULT_RACE
when write access was requested but the racing pte was not writable?

Most of the test cases I have thrown at this have gotten the writer
faulting first which did not result in problems.  I would hate to slow
things down if not necessary.  I am unaware of more issues than the one
I have been tripping.

Thanks,
Robin Holt
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help