lkml.org 
[lkml]   [2003]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [Ext2-devel] [PATCH] distributed counters for ext2 to avoid group scaning
    On Mon, Mar 17, 2003 at 12:23:57PM -0800, Andrew Morton wrote:
    > Matthew Wilcox <willy@debian.org> wrote:
    > >
    > > Anyway, I think dcounters should probably be allocated from kmalloc_percpu()
    > > rather than as part of the dcounter struct.
    >
    > That will still consume up to 4 kilobytes per 32-bit counter. We'd
    > need to merge Kiran & Dipankar's interlace allocator to do this less
    > grossly.

    Right -- or have dcounter manage a pool of memory itself. That's maybe too
    much work though.

    > Which is why I'm waiting to see some profiles and benchmarks. Judging from
    > the last set of profiles, in which ext2_count_free_blocks() was not present,
    > this may not be justified.

    If we can manage without it, that's even better of course.

    --
    "It's not Hollywood. War is real, war is primarily not about defeat or
    victory, it is about death. I've seen thousands and thousands of dead bodies.
    Do you think I want to have an academic debate on this subject?" -- Robert Fisk
    -
    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:0.030 / U:90.256 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site