[lkml]   [2003]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: how do file-mapped (mmapped) pages become dirty?
    Helge Hafting wrote:
    > Amir Hermelin wrote:

    >> What function is responsible for this setting? And when will the page be
    >> written back to disk (i.e. where's the flusher located)?
    > When there's memory pressure, or a sync.

    Note however that you need an msync() -- fsync() and fdatasync() do not
    catch changes to mmapped pages.


    Chris Friesen | MailStop: 043/33/F10
    Nortel Networks | work: (613) 765-0557
    3500 Carling Avenue | fax: (613) 765-2986
    Nepean, ON K2H 8E9 Canada | email:

    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 13:58    [W:0.020 / U:39.708 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site