1. 14 Dec, 2002 13 commits
    • Andrew Morton's avatar
      [PATCH] show_free_areas extensions · b7fdef78
      Andrew Morton authored
      Ancient patch From Bill Irwin
      
      The patch is intended to show improved information about where the
      memory went during OOM-killing events.
      
      - when the OOM killer fails and the system panics, calls
        show_free_areas()
      
      - reorganize show_free_areas() to use for_each_zone()
      
      - add per-cpu stats to show_free_areas()
      
      - tags output from show_free_areas() with node and zone information
      b7fdef78
    • Andrew Morton's avatar
      [PATCH] Remove fail_writepage, redux · 3e9afe4c
      Andrew Morton authored
      fail_writepage() does not work.  Its activate_page() call cannot
      activate the page because it is not on the LRU.
      
      So perform that function (more efficiently) in the VM.  Remove
      fail_writepage() and, if the filesystem does not implement
      ->writepage() then activate the page from shrink_list().
      
      A special case is tmpfs, which does have a writepage, but which
      sometimes wants to activate the pages anyway.  The most important case
      is when there is no swap online and we don't want to keep all those
      pages on the inactive list.  So just as a tmpfs special-case, allow
      writepage() to return WRITEPAGE_ACTIVATE, and handle that in the VM.
      
      Also, the whole idea of allowing ->writepage() to return -EAGAIN, and
      handling that in the caller has been reverted.  If a writepage()
      implementation wants to back out and not write the page, it must
      redirty the page, unlock it and return zero.  (This is Hugh's preferred
      way).
      
      And remove the now-unneeded shmem_writepages() - shmem inodes are
      marked as `memory backed' so it will not be called.
      
      And remove the test for non-null ->writepage() in generic_file_mmap().
      Memory-backed files _are_ mmappable, and they do not have a
      writepage().  It just isn't called.
      
      So the locking rules for writepage() are unchanged.  They are:
      
      - Called with the page locked
      - Returns with the page unlocked
      - Must redirty the page itself if it wasn't all written.
      
      But there is a new, special, hidden, undocumented, secret hack for
      tmpfs: writepage may return WRITEPAGE_ACTIVATE to tell the VM to move
      the page to the active list.  The page must be kept locked in this one
      case.
      3e9afe4c
    • Andrew Morton's avatar
      [PATCH] skip memory-backed filesystems in writeback · 660282aa
      Andrew Morton authored
      There's nopoint in walking through a lot of tmpfs or ramdisk pages when
      we're trying to clean memory.  So if a memory-backed inode is
      discovered during writeback, skip the entire superblock.
      660282aa
    • Andrew Morton's avatar
      [PATCH] semtimedop - semop() with a timeout · f99a1a55
      Andrew Morton authored
      Patch from Mark Fasheh <mark.fasheh@oracle.com> (plus a few cleanups
      and a speedup from yours truly)
      
      Adds the semtimedop() function - semop with a timeout.  Solaris has
      this.  It's apparently worth a couple of percent to Oracle throughput
      and given the simplicity, that is sufficient benefit for inclusion IMO.
      
      This patch hooks up semtimedop() only for ia64 and ia32.
      f99a1a55
    • Andrew Morton's avatar
      [PATCH] Fix rmap locking for CONFIG_SWAP=n · c7d7f43a
      Andrew Morton authored
      The pte_chain_unlock() needs to be outside the ifdef.
      c7d7f43a
    • Andrew Morton's avatar
      [PATCH] speed up read_zero() for !CONFIG_MMU · 849696bb
      Andrew Morton authored
      The read_zero() implementation for !CONFIG_MMU was very inefficient.
      This sped-up version has been tested and acked by Greg Ungerer.
      849696bb
    • Andrew Morton's avatar
      [PATCH] create /proc/kmsg, remove sys_syslog()-based · 48a789a9
      Andrew Morton authored
      Back out the sys_syslog()-based printk-from-userspace and replace
      it with Ben's /proc/kmsg version.
      
      Requires a `mknod /dev/kmsg c 1 11'.
      48a789a9
    • Andrew Morton's avatar
      [PATCH] deprecate use of bdflush() · 2f268ee8
      Andrew Morton authored
      Patch from Robert Love <rml@tech9.net>
      
      We can never get rid of it if we do not deprecate it - so do so and
      print a stern warning to those who still run bdflush daemons.
      2f268ee8
    • Andrew Morton's avatar
      [PATCH] Avoid recursion in the page allocator · 2a6c8678
      Andrew Morton authored
      The PF_MEMALLOC handling got broken somewhere, and it is now possible
      for a PF_MEMALLOC process to reenter page reclaim.
      
      Change it to fail the allocation if we're PF_MEMALLOC and there are
      zero pages free.
      2a6c8678
    • François Romieu's avatar
      [PATCH] missing piece of Iphase atm driver update · ee842908
      François Romieu authored
      This removes calls to function which disappeared during last Iphase
      driver update.  Since this update, Iphase driver has been using plain
      modern pci style init.
      
      Problem wasn't noticed until Adrian Bunk tried to build non-modular kernel
      (I only tested the modularized driver). Everybody else seemed happy :o)
      ee842908
    • James Simmons's avatar
      [PATCH] VT scrolling fix · 6faa9cfc
      James Simmons authored
      scrup is using memcpy even when the memory areas src, dest overlap.  The
      key is to use memmove which handles overlapping memory gracefully.
      6faa9cfc
    • Linus Torvalds's avatar
      Merge bk://thebsh.namesys.com/bk/reiser3-linux-2.5-fixes · 36db78e3
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      36db78e3
    • Anton Blanchard's avatar
      [PATCH] 2.5 fix for > 25 disks · 49b0c2a3
      Anton Blanchard authored
      2.5 currently tries to register disk sda twice. Not nice and now we use
      sysfs to do name to dev_t mapping, I couldnt mount my root filesystem.
      49b0c2a3
  2. 13 Dec, 2002 13 commits
  3. 12 Dec, 2002 11 commits
  4. 11 Dec, 2002 1 commit
  5. 10 Dec, 2002 2 commits
    • Dave Kleikamp's avatar
      JFS: Remove COMMIT_Holdlock · 143443ff
      Dave Kleikamp authored
      The logic surrounding COMMIT_Holdlock was well-intentioned to reduce
      latency when deleting files, but it can also result in a hang that I don't
      have good fix for.  I don't think removing this will hurt our overall
      performance very much.
      143443ff
    • Dave Kleikamp's avatar
      JFS: Fix accounting of active allocation groups · d20e9e42
      Dave Kleikamp authored
      jfs_destroy_inode was assuming that active_ag should never be set coming into
      this routine.  Since it's possible for file to be extended after the file
      descriptor has been closed, we need to allow the possibility.  (Dirty pages
      of memory mapped files can be written after the file has been closed.)
      d20e9e42