Assorted tmpfs fixes

From: Christoph Rohland (cr@sap.com)
Date: Tue May 15 2001 - 03:32:25 EST


Hi Alan,

would you mind to apply the accumulated tmpfs fixes to the -ac series?

Here the short descriptions:

2-SHMEM_I:
        Encapsulate all accesses to the private info structure with
        macro. This was suggested by Al to later get rid of the
        union in the inode struct. This is pretty straightforward
        search and replace.
3-inline_symlink:
        For symlinks smaller than the private keep the
        symlink directly there. This saves 4k per normal
        symlink. This is a new feature which is quite simple.
4-accounting:
        This patch introduces accounting for in memory
        tmpfs pages and modifies meminfo to subtract these pages from
        the cached pages since they are not really cached. This makes
        tuning memory requirement much easier and confuses less people.
5-accounting_shared:
        Export the tmpfs memory count into the /shared/ field of
        meminfo. This change does reuse the now unused field to get
        some sensible data to the user. It is somewhat questionable
        since it changes the semantics of the field against pre
        2.4. But many people expect exactly this number here
6-accounting_uml:
        The previous patch for uml
7-triple2:
        redo the swap entry handling to do triple indirect
        blocks. This is needed for s390x which has 4k page size and 64
        bit. This limits tmpfs files and shm segments to ~1GB without
        the patch.

I would really like to get this tested first in -ac before feeding
this to Linus.

Greetings
                Christoph













-
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/



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:40 EST