20 Jul, 2007

1 commit

  • Slab destructors were no longer supported after Christoph's
    c59def9f222d44bb7e2f0a559f2906191a0862d7 change. They've been
    BUGs for both slab and slub, and slob never supported them
    either.

    This rips out support for the dtor pointer from kmem_cache_create()
    completely and fixes up every single callsite in the kernel (there were
    about 224, not including the slab allocator definitions themselves,
    or the documentation references).

    Signed-off-by: Paul Mundt

    Paul Mundt
     

31 May, 2007

1 commit

  • The bridge cleanup timer is fired 10 times a second for timers that
    are at least 15 seconds ahead in time and that are not critical to be
    cleaned asap.

    This patch calculates the next time to run the timer as the minimum of
    all timers or a minimum based on the current state.

    Signed-off-by: Baruch Even
    Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    Baruch Even
     

26 Apr, 2007

3 commits


23 Mar, 2007

1 commit

  • br_fdb_get use atomic_inc to increase the refcount of an element found
    on a RCU protected list, which can lead to the following race:

    CPU0 CPU1

    br_fdb_get: rcu_read_lock
    __br_fdb_get: find element
    fdb_delete: hlist_del_rcu
    br_fdb_put
    br_fdb_put: atomic_dec_and_test
    call_rcu(fdb_rcu_free) br_fdb_get: atomic_inc
    rcu_read_unlock
    fdb_rcu_free: kmem_cache_free

    Use atomic_inc_not_zero instead.

    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     

11 Feb, 2007

1 commit


08 Dec, 2006

1 commit

  • Replace all uses of kmem_cache_t with struct kmem_cache.

    The patch was generated using the following script:

    #!/bin/sh
    #
    # Replace one string by another in all the kernel sources.
    #

    set -e

    for file in `find * -name "*.c" -o -name "*.h"|xargs grep -l $1`; do
    quilt add $file
    sed -e "1,\$s/$1/$2/g" $file >/tmp/$$
    mv /tmp/$$ $file
    quilt refresh
    done

    The script was run like this

    sh replace kmem_cache_t "struct kmem_cache"

    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     

16 Oct, 2006

1 commit


21 Mar, 2006

1 commit


01 Nov, 2005

1 commit


30 Aug, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds