[lkml]   [2004]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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
    More majordomo info at
    Please read the FAQ at

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