Re: [PATCH] Allow to disable shmem.o

From: Hugh Dickins (hugh_at_veritas.com)
Date: 08/08/04

  • Next message: Sam Ravnborg: "Re: [PATCH] save kernel version in .config file"
    Date:	Sun, 8 Aug 2004 20:01:29 +0100 (BST)
    To: Andrew Morton <akpm@osdl.org>
    
    

    On Sun, 8 Aug 2004, Andrew Morton wrote:
    > Hugh Dickins <hugh@veritas.com> wrote:
    > >
    > > But somehow I still prefer Matt's patch, which offers a lot more.
    >
    > Me too - it's sneaky.
    >
    > I suspect it's more SMp scalable than shmem.c too?

    I bet it is (unless it falls into generic filepage overheads
    which shmem is skating past e.g. attempts to readahead).

    Though I hope not notably more so by the time I've finished
    reworking shmem_getpage (was on the right track yesterday,
    but other issues have intervened today).

    They should both come down to find_get_page (find_lock_page in
    shmem.c's case, only an issue when contention on same page),
    alloc_page, add_to_page_cache: contention on tree_lock.

    Its main deficiency (aside from the lack of swap use, which in
    some contexts is a plus) is its lack of resource limiting.

    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/


  • Next message: Sam Ravnborg: "Re: [PATCH] save kernel version in .config file"