1. 12 Aug, 2002 19 commits
  2. 11 Aug, 2002 8 commits
  3. 10 Aug, 2002 13 commits
    • Arnaldo Carvalho de Melo's avatar
    • Linus Torvalds's avatar
      Linux v2.5.31 · 80e4e144
      Linus Torvalds authored
      80e4e144
    • Andrew Morton's avatar
      [PATCH] Infrastructure for atomic user accesses · 199143a8
      Andrew Morton authored
      Well the optimum solution there would be to create and use
      `inc_preempt_count_non_preempt()'.  I don't see any
      way of embedding this in kmap_atomic() or copy_to_user_atomic()
      without loss of flexibility or incurring a double-inc somewhere.
      199143a8
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/pci_hp-2.5 · 1dd4dd0c
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      1dd4dd0c
    • Linus Torvalds's avatar
      Merge bk://ppc.bkbits.net/for-linus-ppc · 01cf0f73
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      01cf0f73
    • Andrew Morton's avatar
      [PATCH] fix a race between set_page_dirty and truncate · 67886cc6
      Andrew Morton authored
      Fix a race between set_page_dirty() and truncate.
      
      The page could have been removed from the mapping while this CPU is
      spinning on the lock.  __free_pages_ok() will go BUG.
      
      This has not been observed in practice - most callers of
      set_page_dirty() hold the page lock which gives exclusion from
      truncate.  But zap_pte_range() does not.
      
      A fix for this has been sent to Marcelo also.
      67886cc6
    • Andrew Morton's avatar
      [PATCH] direct IO fixes · 0ea7efc9
      Andrew Morton authored
      Some direct IO fixes from Badari Pulavarty.
      
      - off-by-one in the bounds checking in blkdev_get_blocks().
      
      - When adding more blocks into a bio_vec, account for the current
        offset into that bio_vec.
      
      - Fix a total ballsup in the code which calculates the total number
        of pages which are about to be put under IO.
      0ea7efc9
    • Andrew Morton's avatar
      [PATCH] sync get_user_pages with 2.4 · 6df888f6
      Andrew Morton authored
      Forward port of get_user_pages() change from 2.4.
      
      - If the vma is marked as VM_IO area then fail the map.
      
        This prevents kernel deadlocks which occur when applications which
        have frame buffers mapped try to dump core.  Also prevents a kernel
        oops when a debugger is attached to a process which has an IO mmap.
      
      - Check that the mapped page is inside mem_map[] (pfn_valid).
      
      - inline follow_page() and remove the preempt_disable()s.  It has
        only a single callsite and is called under spinloclk.
      6df888f6
    • Andrew Morton's avatar
      [PATCH] tunable ext3 commit interval · 88cb17e4
      Andrew Morton authored
      The patch from Stephen Tweedie allows users to modify the journal
      commit interval for the ext3 filesystem.
      
      The commit interval is normally five seconds.  For portable computers
      with spun-down drives it is advantageous to be able to increase the
      commit interval.
      
      There may also be advantages in decreasing the commit interval for
      specialised applications such as heavily-loaded NFS servers which are
      using synchronous exports.
      
      The laptop users will also need to increase the pdflush periodic
      writeback interval (/proc/sys/vm/dirty_writeback_centisecs), because
      the `kupdate' activity also forces a commit.
      
      To specify the commit interval, use
      
      	mount -o commit=30 /dev/hda1 /mnt/whatever
      
      or
      	mount -o remount,commit=30 /dev/hda1
      
      The commit interval is specified in units of seconds.
      88cb17e4
    • Andrew Morton's avatar
      [PATCH] copy_strings speedup · d34e8c85
      Andrew Morton authored
      This is the first of three patches which reduce the amount of
      kmap/kunmap traffic on highmem machines.
      
      The workload which was tested was RAM-only dbench.  This is dominated
      by copy_*_user() costs.
      
      The three patches speed up my 4xPIII by 3%
      
      The three patches speed up a 16P NUMA-Q by 100 to 150%
      
      The first two patches (copy_strings and pagecache reads) speed up an
      8-way by 15%.  I expect that all three patches will speed up the 8-way
      by 40%.
      
      Some of the benefit is from reduced pressure on kmap_lock.  Most of it
      is from reducing the number of global TLB invalidations.
      
      
      This patch fixes up copy_strings().  copy_strings does a huge amount of
      kmapping.  Martin Bligh has noted that across a kernel compile this
      function is the second or third largest user of kmaps in the kernel.
      
      The fix is pretty simple: just hang onto the previous kmap as we we go
      around the loop.  It reduces the number of kmappings from copy_strings
      by a factor of 30.
      d34e8c85
    • Andrew Morton's avatar
      [PATCH] 3c905B fix · ab77bb3e
      Andrew Morton authored
      Patch from Zwane which fixes a transceiver problem on his 3c905B.
      
      Apparently the 905B's MII status register is saying that it doesn't
      need preamble, but the datasheet says that it does.  So add a 905B
      override for that in the device table.
      
      This could break other 3c905B's.  I don't know.  There's only one way
      to find out.
      ab77bb3e
    • Russell King's avatar
      [PATCH] build warning fix · 0e2774eb
      Russell King authored
      This patch has been verified to apply cleanly to 2.5.30
      
      This patch fixes a build warning in smp.h.  register_cpu_notifier uses
      struct notifier_block in its argument list.  Unfortunately, there are
      places where smp.h is included before the definition of this structure.
      0e2774eb
    • Pavel Machek's avatar
      [PATCH] S3 and swsusp: fixing device_resume order · 66431f4b
      Pavel Machek authored
      pci driver's resume must not be called during RESUME_POWER_ON because
      interrupts are still off and i8259A is not initialized [OHCI kills
      machine in such case, cardbus probably too.  PCI drivers just assume
      initialized interrupts.]
      
      Second hunk fixes device_resume calls to be okay according to
      documentation.
      66431f4b