lkml.org 
[lkml]   [2004]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Unnecessary barrier in sync_page()?
    On Wed, Jul 07, 2004 at 02:30:15PM -0700, Andrew Morton wrote:
    > And we cannot lock the page because, err, we need to run sync_page() for
    > that.

    exactly ;)

    > But I cannot think of any callers of sync_page() who don't have a ref on
    > the inode, so...

    I'm thinking, does handle_write_error() holds a ref on the inode? that's
    the VM and it finds the page without passing through the inode. I'm
    afraid the VM isn't safe calling lock_page, or am I overlooking
    something here?
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.020 / U:304.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site