lkml.org 
[lkml]   [2003]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: PATCH: allow percentile size of tmpfs (2.5.66 / 2.4.20-pre2)
    On Tue, 1 Apr 2003, Daniel Egger wrote:
    > Am Die, 2003-04-01 um 18.24 schrieb Christoph Rohland:
    >
    > > But on these systems you better use ramfs.
    >
    > Just curious: Why? I'm using tmpfs on these systems and I'm rather
    > satisfied with it; especially the option to limit the amount of space
    > makes it rather useful. According to the documentation ramfs is most
    > useful as an educational example how to write filesystems not as a
    > real filesystem...

    Simply because quite a lot of the tmpfs code is concerned with moving
    pages between ram and swap: if you've limited ram and no swap, you may
    not want to waste your ram on that code! One day I might try applying
    #ifdef CONFIG_SWAPs within mm/shmem.c; but I might well not, it could
    get ugly, and looks rudimentary elsewhere - do we intend to get serious
    about CONFIG_SWAP?

    Hugh

    -
    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 13:34    [W:4.371 / U:6.172 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site