[lkml]   [1999]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: breaking the 2Gigabyte limit on 32 bit arch of inode->i_size (off_t vs loff_t)
    On Sun, 21 Mar 1999, Matti Aarnio wrote:

    > Andrea, have a look at:
    >Essentially I just pushed ahead and used loff_t.

    I seen now. But I don't agree in some point with your code.

    As first I don't agree with the page->offset long long (and if I remeber
    well also Linus said the same), because in the page->offset we just have
    12 wasted bits (ignoring the swap cache entries that can be changed). So
    instead of adding new 32bits we should start using the 12 bits we are
    currently wasting.

    And I don't think it worth to allow mmap on the high part of the file.

    Your code also showed me that the changes to handle 2gigabyte are more
    invasive of what I thought, maybe we are too much near to an ia-64 to
    expect that the kernel will change this way to handle 2gigbyte files on
    ia-32. I really don't know...


    Andrea Arcangeli

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:50    [W:0.019 / U:167.204 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site