lkml.org 
[lkml]   [2009]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectQuestion about do_wp_page() and lock_page()
FromLarry Woodman <>
DateWed, 14 Jan 2009 16:35:08 -0500
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




\
 
 \ /
  Last update: 2009-01-14 22:35    [from the cache]
©2003-2010