1. 08 Mar, 2003 20 commits
    • Andrew Morton's avatar
      [PATCH] usercopy checks in old_readdir() · 4d580698
      Andrew Morton authored
      Fix up some unchecked copy_to_user()s
      4d580698
    • Andrew Morton's avatar
      [PATCH] fix div-by-zero in bonding.c · de88f07f
      Andrew Morton authored
      Patch from: Shmulik Hen <hshmulik@intel.com>
      
      The following patch fixes a division by zero bug in the bonding module that
      happens when transmitting through a bond with no slaves, in the XOR bonding
      mode.
      de88f07f
    • Andrew Morton's avatar
      [PATCH] move CONFIG_SWAP around · fc60971f
      Andrew Morton authored
      Patch from Tom Rini <trini@kernel.crashing.org>
      
      Take CONFIG_SWAP out of the top-level menu into the general setup menu.  Make
      it dependent on CONFIG_MMU and common to all architectures.
      fc60971f
    • Andrew Morton's avatar
      [PATCH] Fix copy_page_range()'s handling of invalid pages · e7a88057
      Andrew Morton authored
      Patch from Xavier Bru  <Xavier.Bru@bull.net>
      
      If copy_page_range encounters a pte which maps an invalid pageframe it will
      proceed to try to add an rmap entry against that page.  This causes oopses
      when an application which has mapped an IO device via /dev/mem forks.
      
      Fix that up by correctly skipping the page_add_rmap() for these pte's.
      e7a88057
    • Andrew Morton's avatar
      [PATCH] slab debug: symbolic output in caller tracking · 9f930d75
      Andrew Morton authored
      use print_symbol() to decode the offender's program counter.
      9f930d75
    • Andrew Morton's avatar
      [PATCH] slab debug: track caller program counter · 2bf34c12
      Andrew Morton authored
      Patch from Manfred Spraul <manfred@colorfullife.com>
      
      A patch that records the last kfree caller's program counter
      and prints that if a poison check fails.
      2bf34c12
    • Andrew Morton's avatar
      [PATCH] slab use-after-free detector · 9ec42f94
      Andrew Morton authored
      Patch from Petr Vandrovec <vandrove@vc.cvut.cz>
      
      Modifies check_poison function to not only verify that last byte is
      POISON_END, but also that all preceeding bytes are either POISON_BEFORE or
      POISON_AFTER bytes.
      9ec42f94
    • Andrew Morton's avatar
      [PATCH] Fix vm_area_struct slab corruption · 7a6b4e0d
      Andrew Morton authored
      Patch from Hugh Dickins <hugh@veritas.com>
      
      Hugh's patch fixes vm_area_struct slab corruption due to mremap's move_vma
      mistaking how do_munmap splits vmas in one case.
      
      Neither of us are very happy with it - it is fragile, and obscure.  Hugh will
      revisit this later, but for now it should fix up the potential memory
      corruption.
      7a6b4e0d
    • Andrew Morton's avatar
      [PATCH] Make diskstats per-cpu using kmalloc_percpu · 83bfc5dd
      Andrew Morton authored
      Patch from Ravikiran G Thirumalai <kiran@in.ibm.com>
      
      Makes the disk stats on struct gendisk per-cpu.
      83bfc5dd
    • Andrew Morton's avatar
      [PATCH] Allow VFS readahead to fall to zero · bc858911
      Andrew Morton authored
      Some workloads really, really want to have no readahead.  Databases which are
      perfoming small synchronous I/Os against a file which has extremely poor
      layout.  Any readahead at all is a lose here.
      
      But the current readahead code refuses to adapt that low.
      
      Fix it up so that we can indeed adaptively disable readahead altogether, and
      do not start it again until we have seen max_readahead()'s worth of
      consecutive reads.
      bc858911
    • Andrew Morton's avatar
      [PATCH] Implement sendfile() for NFS · 731cf67c
      Andrew Morton authored
      Patch from Trond Myklebust <trond.myklebust@fys.uio.no>
      
      Implement sendfile() for the NFS client.  This is required for loop-on-NFS
      support.
      731cf67c
    • Andrew Morton's avatar
      [PATCH] fix possible latency in balance_dirty_pages() · 96552156
      Andrew Morton authored
      Tasks which throttle in balance_dirty_pages() will loop until the amount of
      dirty memory falls below the configured dirty_ratio.
      
      This exposes the possibility that one task could be stuck in there for
      arbitrary periods of time due to page dirtying activity by other tasks.
      
      The patch changes the logic so that tasks will break out of the loop if they
      have written enough pages, regardless of the current dirty memory limits.
      
      Here "enough" pages is 1.5x the number of pages which they just dirtied.
      
      If the amount of dirty memory in the machine happens to still exceed
      dirty_ratio (say, due to MAP_SHARED activity) then the task will again
      throttle after dirtying a single page.  But there is now an upper limit on
      the time for which a single task will be captured in balance_dirty_pages().
      96552156
    • Andrew Morton's avatar
      [PATCH] register_blkdev cleanups · 9a64905a
      Andrew Morton authored
      Patch from Andries.Brouwer@cwi.nl
      
      The following patch does the following:
      
      - static const char *blkdevs[MAX_BLKDEV]; disappears
      - get_blkdev_list, (un)register_blkdev, __bdevname
        are moved from block_dev.c to genhd.c
      - the third "fops" parameter of register_blkdev was unused;
        now removed everywhere
      - zillions of places had printk("cannot get major") upon
        error return from register_blkdev; removed all of these
        and inserted a single printk in register_blkdev.
      
      Of course the reason for the patch is that one fixed size
      array is eliminated.
      9a64905a
    • Martin J. Bligh's avatar
      [PATCH] 6/6 cacheline align files_lock · 13619430
      Martin J. Bligh authored
      I'm getting a lot of cacheline bounce from .text.lock.file_table due to
      false sharing of the cahceline. The following patch just aligns the lock
      in it's own cacheline.
      13619430
    • Martin J. Bligh's avatar
      [PATCH] 5/6 Provide basic documentation for profiling · 39773b6e
      Martin J. Bligh authored
      People keep asking for this info, and Andrew asked me to put it under the
      Documentation directory ... provides really simple instructions for taking
      a profile so that users can report performance changes in a useful way.
      39773b6e
    • Martin J. Bligh's avatar
      [PATCH] 4/6 Fix the type of get_zholes_size for NUMA-Q · 1e5cf911
      Martin J. Bligh authored
      From Andy Whitcroft
      
      Fix the type of get_zholes_size for NUMA-Q
      1e5cf911
    • Martin J. Bligh's avatar
      [PATCH] 3/6 Convert physnode_map to u8 · 6842f6e4
      Martin J. Bligh authored
      From Andy Whitcroft
      
      Convert physnode_map from an int to a u8 to save cachelines.
      6842f6e4
    • Martin J. Bligh's avatar
      [PATCH] 2/6 Make CONFIG_NUMA work on non-numa machines. · 1e37e89c
      Martin J. Bligh authored
      From Andy Whitcroft
      
      A few very simple changes in order to make CONFIG_NUMA work everywhere, so
      the distros can build one common binary kernel for distributions.
      1e37e89c
    • Martin J. Bligh's avatar
      [PATCH] 1/6 Share common physnode_map code between NUMA-Q and Summit · 82d82900
      Martin J. Bligh authored
      From Andy Whitcroft
      
      Share a common physnode_map structure between NUMA-Q and Summit.
      82d82900
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.5 · a785c298
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      a785c298
  2. 07 Mar, 2003 1 commit
  3. 08 Mar, 2003 1 commit
  4. 07 Mar, 2003 18 commits