11 Oct, 2007

2 commits


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
     

26 Apr, 2007

1 commit

  • This patch
    * organizes the sequence arithmetic functions into one corner of dccp.h
    * performs a small modification of dccp_set_seqno to make it more widely reusable
    (now it is safe to use any number, since it performs modulo-2^48 assignment)
    * adds functions and generic macros for 48-bit sequence arithmetic:
    --48 bit complement
    --modulo-48 addition and modulo-48 subtraction
    --dccp_inc_seqno now a special case of add48
    Constants renamed following a suggestion by Arnaldo.

    Signed-off-by: Gerrit Renker
    Acked-by: Ian McDonald
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Gerrit Renker
     

12 Dec, 2006

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
     

03 Dec, 2006

7 commits

  • Ack vectors grow proportional to the window size. If an ack vector does not fit
    into a single option, it must be spread across multiple options. This patch
    will allow for windows to grow larger.

    Committer note: Simplified the patch a bit, original algorithm kept.

    Signed-off-by: Andrea Bittau
    Signed-off-by: Arnaldo Carvalho de Melo

    Andrea Bittau
     
  • Commiter note:

    This was split from Andrea's original patch, in the process I changed the type
    of the ackvec index fields to u16 instead of to int and haven't folded
    dccp_ackvec_parse with dccp_ackvec_check_rcv_ackno.

    Next patch will actually do the insertion of more than one ackvec per packet,
    using, initially, up to a max of 2 ackvecs as per Andrea's original patch, then
    I'll work on support for larger ackvecs, be it using a sysctl or using
    setsockopt.

    Signed-off-by: Andrea Bittau
    Signed-off-by: Arnaldo Carvalho de Melo

    Andrea Bittau
     
  • Commiter note: original patch was splitted.

    Signed-off-by: Andrea Bittau
    Signed-off-by: Arnaldo Carvalho de Melo

    Andrea Bittau
     
  • This reaps the benefit of the earlier patch, which changed the type of
    CCID 3 states to use enums, in that many conditions are now simplified
    and the number of possible (unexpected) values is greatly reduced.

    In a few instances, this also allowed to simplify pre-conditions; where
    care has been taken to retain logical equivalence.

    [DCCP]: Introduce a consistent BUG/WARN message scheme

    This refines the existing set of DCCP messages so that
    * BUG(), BUG_ON(), WARN_ON() have meaningful DCCP-specific counterparts
    * DCCP_CRIT (for severe warnings) is not rate-limited
    * DCCP_WARN() is introduced as rate-limited wrapper

    Using these allows a faster and cleaner transition to their original
    counterparts once the code has matured into a full DCCP implementation.

    Signed-off-by: Gerrit Renker
    Signed-off-by: Arnaldo Carvalho de Melo

    Gerrit Renker
     
  • This patch
    * makes debugging (when configured) work both for static / module build
    * provides generic debugging macros for use in other DCCP / CCID modules
    * adds missing information about debug parameters to Kconfig
    * performs some code tidy-up

    Signed-off-by: Gerrit Renker
    Signed-off-by: Arnaldo Carvalho de Melo

    Gerrit Renker
     
  • Do not traverse the list of ack vector records [proportional to window size]
    when we know we will not find what we are looking for. This is especially
    useful because ack vectors are checked twice:
    1) Upon parsing of options.
    2) Upon notification of a new ack.

    All of the work will occur during check #1. Therefore, when check #2 is
    performed, no new work will be done. This is now "detected" and there is no
    performance hit when doing #2.

    Signed-off-by: Andrea Bittau
    Signed-off-by: Gerrit Renker
    Signed-off-by: Arnaldo Carvalho de Melo

    Andrea Bittau
     
  • This patch does not change code; it performs some trivial clean/tidy-ups:

    * removal of a `debug_prefix' string in favour of the
    already existing dccp_role(sk)

    * add documentation of structures and constants

    * separated out the cases for invalid packets (step 1
    of the packet validation)

    * removing duplicate statements

    * combining declaration & initialisation

    Signed-off-by: Gerrit Renker
    Signed-off-by: Arnaldo Carvalho de Melo

    Gerrit Renker
     

25 Oct, 2006

1 commit

  • Updates the references to spec documents throughout the code, taking into
    account that

    * the DCCP, CCID 2, and CCID 3 drafts all became RFCs in March this year

    * RFC 1063 was obsoleted by RFC 1191

    * draft-ietf-tcpimpl-pmtud-0x.txt was published as an Informational
    RFC, RFC 2923 on 2000-09-22.

    All references verified.

    Signed-off-by: Gerrit Renker
    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Gerrit Renker
     

23 Sep, 2006

3 commits


12 Jun, 2006

1 commit


21 Mar, 2006

5 commits


18 Jan, 2006

1 commit


04 Jan, 2006

2 commits


09 Oct, 2005

1 commit

  • - added typedef unsigned int __nocast gfp_t;

    - replaced __nocast uses for gfp flags with gfp_t - it gives exactly
    the same warnings as far as sparse is concerned, doesn't change
    generated code (from gcc point of view we replaced unsigned int with
    typedef) and documents what's going on far better.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

18 Sep, 2005

1 commit