Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 4, 2007
  1. @NigelCunningham

    Bump version to 3.0-rc2.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  2. @NigelCunningham

    Fix compilation error with !CONFIG_PM_DEBUG.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  3. @NigelCunningham

    Use macro for number of reasons do_bio_wait called.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  4. @NigelCunningham

    Don't call do_bio_wait if readahead is already ready.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  5. @NigelCunningham

    Actually do check for min amount of free ram when preparing image.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  6. @NigelCunningham

    Simplify read_pageset1 error handling.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  7. @NigelCunningham

    Ensure all batched I/O is submitted before waiting on a specific page.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  8. @NigelCunningham

    Failure to prepare a readahead page should be fatal.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  9. @NigelCunningham

    Add & use toi_free_pages, missed in allocation debugging changes.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
Commits on Nov 2, 2007
  1. @NigelCunningham
  2. @NigelCunningham

    Argh. Didn't cg-add files in previous commits.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  3. @NigelCunningham

    Freeze fuse and non-fuse filesystems separately.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  4. @NigelCunningham

    Add support for debugging memory allocation.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  5. @NigelCunningham

    Supress secondary error messages when we fail to find a valid resume …

    NigelCunningham authored
    …sig.
    
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  6. @NigelCunningham

    Work on fixing SMP racing in block i/o code.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
  7. @NigelCunningham

    Add module for testing pageflags functionality.

    NigelCunningham authored
    Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
Commits on Nov 1, 2007
  1. Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/…

    Linus Torvalds authored
    …davem/net-2.6
    
    * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
      [IRDA] IRNET: Fix build when TCGETS2 is defined.
      [NET]: docbook fixes for netif_ functions
      [NET]: Hide the net_ns kmem cache
      [NET]: Mark the setup_net as __net_init
      [NET]: Hide the dead code in the net_namespace.c
      [NET]: Relax the reference counting of init_net_ns
      [NETNS]: Make the init/exit hooks checks outside the loop
      [NET]: Forget the zero_it argument of sk_alloc()
      [NET]: Remove bogus zero_it argument from sk_alloc
      [NET]: Make the sk_clone() lighter
      [NET]: Move some core sock setup into sk_prot_alloc
      [NET]: Auto-zero the allocated sock object
      [NET]: Cleanup the allocation/freeing of the sock object
      [NET]: Move the get_net() from sock_copy()
      [NET]: Move the sock_copy() from the header
      [TCP]: Another TAGBITS -> SACKED_ACKED|LOST conversion
      [TCP]: Process DSACKs that reside within a SACK block
  2. [SPARC64]: Update defconfig.

    David S. Miller authored
    Signed-off-by: David S. Miller <davem@davemloft.net>
  3. [IRDA] IRNET: Fix build when TCGETS2 is defined.

    David S. Miller authored
    Signed-off-by: David S. Miller <davem@davemloft.net>
  4. @davem330

    [NET]: docbook fixes for netif_ functions

    Stephen Hemminger authored davem330 committed
    Documentation updates for network interfaces.
    
    1. Add doc for netif_napi_add
    2. Remove doc for unused returns from netif_rx
    3. Add doc for netif_receive_skb
    
    [ Incorporated minor mods from Randy Dunlap -DaveM ]
    
    Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  5. @xemul @davem330

    [NET]: Hide the net_ns kmem cache

    xemul authored davem330 committed
    This cache is only required to create new namespaces,
    but we won't have them in CONFIG_NET_NS=n case.
    
    Hide it under the appropriate ifdef.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  6. @xemul @davem330

    [NET]: Mark the setup_net as __net_init

    xemul authored davem330 committed
    The setup_net is called for the init net namespace
    only (int the CONFIG_NET_NS=n of course) from the __init
    function, so mark it as __net_init to disappear with the
    caller after the boot.
    
    Yet again, in the perfect world this has to be under
    #ifdef CONFIG_NET_NS, but it isn't guaranteed that every
    subsystem is registered *after* the init_net_ns is set
    up. After we are sure, that we don't start registering
    them before the init net setup, we'll be able to move
    this code under the ifdef.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  7. @xemul @davem330

    [NET]: Hide the dead code in the net_namespace.c

    xemul authored davem330 committed
    The namespace creation/destruction code is never called
    if the CONFIG_NET_NS is n, so it's OK to move it under
    appropriate ifdef.
    
    The copy_net_ns() in the "n" case checks for flags and
    returns -EINVAL when new net ns is requested. In a perfect
    world this stub must be in net_namespace.h, but this
    function need to know the CLONE_NEWNET value and thus
    requires sched.h. On the other hand this header is to be
    injected into almost every .c file in the networking code,
    and making all this code depend on the sched.h is a
    suicidal attempt.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  8. @xemul @davem330

    [NET]: Relax the reference counting of init_net_ns

    xemul authored davem330 committed
    When the CONFIG_NET_NS is n there's no need in refcounting
    the initial net namespace. So relax this code by making a
    stupid stubs for the "n" case.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  9. @xemul @davem330

    [NETNS]: Make the init/exit hooks checks outside the loop

    xemul authored davem330 committed
    When the new pernet something (subsys, device or operations) is
    being registered, the init callback is to be called for each
    namespace, that currently exitst in the system. During the
    unregister, the same is to be done with the exit callback.
    
    However, not every pernet something has both calls, but the
    check for the appropriate pointer to be not NULL is performed
    inside the for_each_net() loop.
    
    This is (at least) strange, so tune this.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  10. @xemul @davem330

    [NET]: Forget the zero_it argument of sk_alloc()

    xemul authored davem330 committed
    Finally, the zero_it argument can be completely removed from
    the callers and from the function prototype.
    
    Besides, fix the checkpatch.pl warnings about using the
    assignments inside if-s.
    
    This patch is rather big, and it is a part of the previous one.
    I splitted it wishing to make the patches more readable. Hope 
    this particular split helped.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  11. @xemul @davem330

    [NET]: Remove bogus zero_it argument from sk_alloc

    xemul authored davem330 committed
    At this point nobody calls the sk_alloc(() with zero_it == 0,
    so remove unneeded checks from it.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  12. @xemul @davem330

    [NET]: Make the sk_clone() lighter

    xemul authored davem330 committed
    The sk_prot_alloc() already performs all the stuff needed by the
    sk_clone(). Besides, the sk_prot_alloc() requires almost twice
    less arguments than the sk_alloc() does, so call the sk_prot_alloc()
    saving the stack a bit.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  13. @xemul @davem330

    [NET]: Move some core sock setup into sk_prot_alloc

    xemul authored davem330 committed
    The security_sk_alloc() and the module_get is a part of the
    object allocations - move it in the proper place.
    
    Note, that since we do not reset the newly allocated sock
    in the sk_alloc() (memset() is removed with the previous
    patch) we can safely do this.
    
    Also fix the error path in sk_prot_alloc() - release the security
    context if needed.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  14. @xemul @davem330

    [NET]: Auto-zero the allocated sock object

    xemul authored davem330 committed
    We have a __GFP_ZERO flag that allocates a zeroed chunk of memory.
    Use it in the sk_alloc() and avoid a hand-made memset().
    
    This is a temporary patch that will help us in the nearest future :)
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  15. @xemul @davem330

    [NET]: Cleanup the allocation/freeing of the sock object

    xemul authored davem330 committed
    The sock object is allocated either from the generic cache with
    the kmalloc, or from the proc->slab cache.
    
    Move this logic into an isolated set of helpers and make the
    sk_alloc/sk_free look a bit nicer.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  16. @xemul @davem330

    [NET]: Move the get_net() from sock_copy()

    xemul authored davem330 committed
    The sock_copy() is supposed to just clone the socket. In a perfect
    world it has to be just memcpy, but we have to handle the security
    mark correctly. All the extra setup must be performed in sk_clone() 
    call, so move the get_net() into more proper place.
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  17. @xemul @davem330

    [NET]: Move the sock_copy() from the header

    xemul authored davem330 committed
    The sock_copy() call is not used outside the sock.c file,
    so just move it into a sock.c
    
    Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  18. @davem330

    [TCP]: Another TAGBITS -> SACKED_ACKED|LOST conversion

    Ilpo J�rvinen authored davem330 committed
    Similar to commit 3eec004, point of this is to avoid
    skipping R-bit skbs.
    
    Signed-off-by: Ilpo J�rvinen <ilpo.jarvinen@helsinki.fi>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  19. @davem330

    [TCP]: Process DSACKs that reside within a SACK block

    Ilpo J�rvinen authored davem330 committed
    DSACK inside another SACK block were missed if start_seq of DSACK
    was larger than SACK block's because sorting prioritizes full
    processing of the SACK block before DSACK. After SACK block
    sorting situation is like this:
    
                 SSSSSSSSS
                      D
                            SSSSSS
                                   SSSSSSS
    
    Because write_queue is walked in-order, when the first SACK block
    has been processed, TCP is already past the skb for which the
    DSACK arrived and we haven't taught it to backtrack (nor should
    we), so TCP just continues processing by going to the next SACK
    block after the DSACK (if any).
    
    Whenever such DSACK is present, do an embedded checking during
    the previous SACK block.
    
    If the DSACK is below snd_una, there won't be overlapping SACK
    block, and thus no problem in that case. Also if start_seq of
    the DSACK is equal to the actual block, it will be processed
    first.
    
    Tested this by using netem to duplicate 15% of packets, and
    by printing SACK block when found_dup_sack is true and the 
    selected skb in the dup_sack = 1 branch (if taken):
    
      SACK block 0: 4344-5792 (relative to snd_una 2019137317)
      SACK block 1: 4344-5792 (relative to snd_una 2019137317) 
    
    equal start seqnos => next_dup = 0, dup_sack = 1 won't occur...
    
      SACK block 0: 5792-7240 (relative to snd_una 2019214061)
      SACK block 1: 2896-7240 (relative to snd_una 2019214061)
      DSACK skb match 5792-7240 (relative to snd_una)
    
    ...and next_dup = 1 case (after the not shown start_seq sort),
    went to dup_sack = 1 branch.
    
    Signed-off-by: Ilpo J�rvinen <ilpo.jarvinen@helsinki.fi>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Something went wrong with that request. Please try again.