lkml.org 
[lkml]   [2004]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: ~500 megs cached yet 2.6.5 goes into swap hell
    Andrew Morton wrote:
    > Jeff Garzik <jgarzik@pobox.com> wrote:
    >> Does our fadvise support len==0 ("I mean the whole file")? That's
    >> defined in POSIX, and would allow a compliant app to simply
    >> POSIX_FADV_DONTNEED once at the beginning.
    >
    >
    > Well I'll be darned.


    FWIW the specific language is "If len is zero, all data following offset
    is specified."

    (for others, you probably already have this somewhere)
    http://www.opengroup.org/onlinepubs/007904975/functions/posix_fadvise.html

    top level SuSv3:
    http://www.opengroup.org/onlinepubs/007904975/toc.htm

    Jeff



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