mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Question about do_wp_page() and lock_page()
@ 2009-01-14 21:35 Larry Woodman
  2009-01-15  7:01 ` Nick Piggin
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Woodman @ 2009-01-14 21:35 UTC (permalink / raw)
  To: linux-kernel

Why is it safe for do_wp_page() to call cow_user_page() without locking
the old_page first?  If a Direct IO read is outstanding on the old_page
or its the buffer to the file_read_actor() cant its contents change
during the COW fault?  Is this not a problem?

Larry Woodman



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-15 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-14 21:35 Question about do_wp_page() and lock_page() Larry Woodman
2009-01-15  7:01 ` Nick Piggin
2009-01-15 13:24   ` Hugh Dickins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®