1. 25 Feb, 2003 15 commits
    • Andrew Morton's avatar
      [PATCH] fix bug in slab.c debugging · 1c2c5d12
      Andrew Morton authored
      Patch from John Levon <levon@movementarian.org>
      
      Looked like this condition was previously always false ...
      1c2c5d12
    • Andrew Morton's avatar
      [PATCH] Fix race between umount and inode pruning · 69ce2cbd
      Andrew Morton authored
      Patch from Hugh Dickins <hugh@veritas.com>
      
      When prune_icache coincides with unmounting, invalidate_inodes notices
      the inode it's working on as busy but doesn't wait: Self-destruct in 5
      seconds message, and later iput oopses on freed super_block.
      
      Neither end is a fast path, so the patch just adds iprune_sem for exclusion.
      
      The semaphore is held across dispose_list so that
      dispose_list->clear_inode->destroy_inode cannot reference a destroyed
      superblock.
      69ce2cbd
    • Andrew Morton's avatar
      [PATCH] SARD accounting fix · 1c9bd3e4
      Andrew Morton authored
      Patch from Rick Lindsley <ricklind@us.ibm.com>
      
      Fixes a couple of odd cases in which disk requests were not being accounted
      for.
      1c9bd3e4
    • Andrew Morton's avatar
      [PATCH] Remove redundant check in pte_alloc_map() · 6e501cc8
      Andrew Morton authored
      This check is not needed - the PMD is known to be present.
      6e501cc8
    • Andrew Morton's avatar
      [PATCH] Check for zero d_count in dget() · 3e38f30e
      Andrew Morton authored
      Patch from Maneesh Soni <maneesh@in.ibm.com>
      
      Turns out that sysfs is doing dget() on a zero-ref dentry.  That's a bug, but
      dcache is no longer detecting it.
      
      The check was removed because with lockless d_lookup, there can be cases when
      d_lookup and dput are going on concurrently, If d_lookup happens earlier then
      it may do dget() on a dentry for which dput() has decremented the ref count
      to zero.  This race is handled by taking the per dentry lock and checking the
      DCACHE_UNHASHED flag.
      
      The patch open-codes that part of d_lookup(), and restores the BUG check in
      dget().
      3e38f30e
    • Andrew Morton's avatar
      [PATCH] Make kIrDAd us interruptible sleep · b7013f4c
      Andrew Morton authored
      Use interruptible sleep rather than uninterruptible to avoid perturbing load
      average.
      b7013f4c
    • Andrew Morton's avatar
      [PATCH] use find_get_page() in do_generic_mapping_read() · b446894a
      Andrew Morton authored
      do_generic_mapping_read() has an open-coded version of find_get_page() hidden
      inside it.
      b446894a
    • Andrew Morton's avatar
      [PATCH] x440 SRAT parsing · 4a53ada8
      Andrew Morton authored
      Use the early ioremap code to parse the Static Resource Affinity Table on
      x440 machines.
      4a53ada8
    • Andrew Morton's avatar
      [PATCH] Early ioremap support for ia32 · 68e72499
      Andrew Morton authored
      Patch from Patricia Gaughen <gone@us.ibm.com>,
      		Dave Hansen <haveblue@us.ibm.com>
      
      It provides a very early sort of kmap-by-hand.
      
      The patch is used by the x440 discontigmem to map the srat tables into low
      memory so that the memory can be setup.  This remap function is used very
      early in the boot process...  at the start of setup_arch().
      
      This functionality is only available to Summit and NUMAQ.  It will work on
      other platforms, but they do not need it.
      68e72499
    • Andrew Morton's avatar
      [PATCH] flush_tlb_all preempt safety for voyager · 6520fb02
      Andrew Morton authored
      Patch from Thomas Schlichter <schlicht@uni-mannheim.de>
      
      Make flush_tlb_all() preempt-safe.  Same as the ia32 fix.
      6520fb02
    • Andrew Morton's avatar
      [PATCH] crc32 optimizations · 36303df0
      Andrew Morton authored
      Patch from Joakim Tjernlund <joakim.tjernlund@lumentis.se>
      
      Here is another update(against BK curr) for crc32(). A kind soul pointed out
      the optimizations below.
      
      lib/crc32defs.h:
       - Make it possible to define new values for CRC_LE_BITS/CRC_BE_BITS without
         modifying the source.
      
      lib/crc32.c:
       - Eliminate the need for ENDIAN_SHIFT. Saves a 24 bit shift in the byte
         loops.
      
       - Swap the XOR expression in DO_CRC. gcc for x86 can not do that simple
         optimization itself(gcc 3.2.2 and RH gcc 2.96 tested). Will improve
         performance with 20-25% on x86.
      36303df0
    • Andrew Morton's avatar
      [PATCH] Fix slab batchcount limiting code · 919ba2e9
      Andrew Morton authored
      Spotted by Anton Blanchard: Our attempt to limit the interrupts-off time in
      slab wasn't very effective.  #ifndef DEBUG is never true.
      919ba2e9
    • Andrew Morton's avatar
      [PATCH] hugetlb put_page speedup · 163a3d84
      Andrew Morton authored
      Rework this function so that we only make the indirect call to the
      page-freeing function on the final put_page(), rather than on every
      invokation.
      163a3d84
    • Andrew Morton's avatar
      [PATCH] Fix user time accounting's handling of jiffies wrap · f004b8b3
      Andrew Morton authored
      Patch from Hugh Dickins <hugh@veritas.com>
      
      Userspace shows huge elapsed time across jiffies wrap: with USER_HZ less then
      HZ, sys_times needs jiffies_64 to calculate its retval.
      f004b8b3
    • Andrew Morton's avatar
      [PATCH] make jiffies wrap 5 min after boot · 8542637f
      Andrew Morton authored
      From Tim Schmielau <tim@physik3.uni-rostock.de>
      
      Force jiffies to start out at five-minutes-before-wrap.  To find
      jiffy-wrapping bugs.
      8542637f
  2. 24 Feb, 2003 25 commits