[lkml]   [1996]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: mremap() proposal (was Re: malloc and joe)
    > for the initial mapping, and then when the process notices that the file
    > has grown (or shrunk), it does a
    > mremap(addr, old_size, st.st_size)
    > to be able to read the new pages. A very logical interface, in fact.

    Don't forget that mmap() has a ``start offset within the file'',
    that is, we might not want to care about first 5 GB of some file,
    and want to skip it with that offset...

    > Linus

    /Matti Aarnio <>

     \ /
      Last update: 2005-03-22 13:36    [W:0.016 / U:22.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site