1. 28 Mar, 2003 19 commits
    • Andrew Morton's avatar
      [PATCH] ext3: remove dead code and variables · c78c917e
      Andrew Morton authored
      Spotted by Oleg Drokin: remove a couple of local variables which aren't being
      used for anything.
      c78c917e
    • Andrew Morton's avatar
      [PATCH] add a might_sleep() check to kmap() · 0353acec
      Andrew Morton authored
      kmap() can sleep, but rarely does.  Add a check for kmap() being called from
      inappropriate contexts.
      0353acec
    • Andrew Morton's avatar
      [PATCH] speed up ext3_sync_file() · 507388c9
      Andrew Morton authored
      There is never a need to write out b_assoc_buffers() in ext3_sync_file().
      507388c9
    • Andrew Morton's avatar
      [PATCH] tty_io cleanup · 864c2acd
      Andrew Morton authored
      From: Andries.Brouwer@cwi.nl
      
      Adding the unregister_chrdev_region call that is the counterpart to
      register_chrdev_region, we get a nice cleanup of tty_io.c.
      864c2acd
    • Andrew Morton's avatar
      [PATCH] fix to support discontigmem for 16way x440 · 9110cac9
      Andrew Morton authored
      From: Patricia Gaughen <gone@us.ibm.com>
      
      The boot-time ioermap code needs to invalidate the tlb entries after setting
      up the new pte.
      9110cac9
    • Andrew Morton's avatar
      [PATCH] x86 clock override boot option · 5958cbab
      Andrew Morton authored
      From: john stultz <johnstul@us.ibm.com>
      
      This patch allows one to manually specify the i386 gettimeofday time-source
      by passing clock=[pit|tsc|cyclone|...] as a boot argument.  The argument will
      override the default probled selection, and in case the selected time-source
      not be avalible the code defaults to using the PIT (printing a warning saying
      so).
      5958cbab
    • Andrew Morton's avatar
      [PATCH] wait_on_buffer refcounting checks · 3a2631da
      Andrew Morton authored
      It is generally illegal to wait on an unpinned buffer - another CPU could
      free it up even before __wait_on_buffer() has taken a ref against the buffer.
      
      Maybe external locking rules will prevent this in specific cases, but that is
      really subtle and fragile as locking rules are evolved.
      
      The patch detects people calling wait_on_buffer() against an unpinned buffer
      and issues a diagnostic.
      
      Also remove the get_bh() from __wait_on_buffer().  It is too late.
      3a2631da
    • Andrew Morton's avatar
      [PATCH] ext3: fix max file size · de572770
      Andrew Morton authored
      ext3 is only permitting files of up to 32G.  It should be allowing files to
      be up to 2TB.
      
      This is because it is running ext3_max_size(1024) before the filesystem's
      blocksize has been determined.
      de572770
    • Andrew Morton's avatar
      [PATCH] remove vm_enough_memory double counting · bd12cbc7
      Andrew Morton authored
      From: Hugh Dickins <hugh@veritas.com>
      
      Stop vm_enough_memory double counting total_swapcache_pages: it dates
      from the days when we didn't free swap when freeing swapcache page.
      bd12cbc7
    • Andrew Morton's avatar
      [PATCH] handle oom in tmpfs · 70fa2a42
      Andrew Morton authored
      From: Hugh Dickins <hugh@veritas.com>
      
      move_from_swap_cache and add_to_page_cache_lru are using GFP_ATOMIC,
      which can easily fail in an intermittent way.  Rude if shmem_getpage
      then fails with -ENOMEM: use blk_congestion_wait() to let kswapd in,
      and repeat.
      70fa2a42
    • Andrew Morton's avatar
      [PATCH] tmpfs truncation fix · 65ce13e2
      Andrew Morton authored
      From: Hugh Dickins <hugh@veritas.com>
      
      Recent testing has shown that swapoff can sneak a page back into the
      tmpfs page cache after truncate_inode_pages has cleaned it, before
      shmem_truncate resets next_index to stop that: BUG_ON(inode->i_blocks)
      in shmem_delete_inode.  So call truncate_inode_pages again to be safe.
      65ce13e2
    • Andrew Morton's avatar
      [PATCH] make add_to_swap_cache() static · 8dae6768
      Andrew Morton authored
      From: Hugh Dickins <hugh@veritas.com>
      
      Make add_to_swap_cache static, it's only used by read_swap_cache_async;
      and since that has just done a GFP_HIGHUSER allocation, surely it's
      better for add_to_swap_cache to use GFP_KERNEL than GFP_ATOMIC.
      8dae6768
    • Andrew Morton's avatar
      [PATCH] permit page unmapping if !CONFIG_SWAP · 09efe93d
      Andrew Morton authored
      From: Hugh Dickins <hugh@veritas.com>
      
      Raised #endif CONFIG_SWAP in shrink_list, it was excluding
      try_to_unmap of file pages.  Suspect !CONFIG_MMU relied on
      that to suppress try_to_unmap, added SWAP_FAIL stub for it.
      09efe93d
    • Andrew Morton's avatar
      [PATCH] remove SWAP_ERROR · 255373b8
      Andrew Morton authored
      From: Hugh Dickins <hugh@veritas.com>
      
      Delete unused SWAP_ERROR and non-existent page_over_rsslimit().
      255373b8
    • Andrew Morton's avatar
      [PATCH] posix timers: fix double-reporting of timer expiration · 927ae7fc
      Andrew Morton authored
      From: george anzinger <george@mvista.com>
      
      Timer expirations are being reported twice.
      927ae7fc
    • Andrew Morton's avatar
      [PATCH] add flush_cache_page() to install_page() · 3f31141c
      Andrew Morton authored
      install_page() needs to run flush_cache_page() prior to overwriting an
      already-established pte.
      3f31141c
    • Andrew Morton's avatar
      [PATCH] slab: fix off-by-one in size calculation · 16d99651
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      Brian spotted a stupid bug in the slab initialization:
      
      If multiple objects fit into one cacheline, then the allocator ignores
      SLAB_HWCACHE_ALIGN and squeezes the objects into the same cacheline.  The
      implementation contains an off by one error and thus doesn't work correctly:
      For Athlon optimized kernels, the 32-byte slab uses 64 byte of memory.
      16d99651
    • Andrew Morton's avatar
      [PATCH] POSIX timers interface long/int cleanup · 9d3488a8
      Andrew Morton authored
      From: Eric Piel <Eric.Piel@Bull.Net>
      
      Fixes some long/int confusion on 64-bit machines which was causing failures
      on ia64 - we end up trying to set bits in the 32-63 range on an int and the
      kernel locks up.
      
      Also cleans up idr.h.
      
      George has acked this change.
      9d3488a8
    • Andrew Morton's avatar
      [PATCH] initcall debug code · a3fa4e81
      Andrew Morton authored
      The patch is designed to help locate where the kernel is dying during the
      startup sequence.
      
      - Boot parameter "initcall_debug" causes the kernel to print out the
        address of each initcall before calling it.
      
        The kallsyms tables do not cover __init sections, so printing the
        symbolic version of these symbols doesn't work.  They need to be looked up
        in System.map.
      
      - Detect whether an initcall returns with interrupts disabled or with a
        locking imbalance.  If it does, complain and then try to fix it up.
      a3fa4e81
  2. 27 Mar, 2003 1 commit
  3. 28 Mar, 2003 2 commits
  4. 27 Mar, 2003 3 commits
  5. 28 Mar, 2003 9 commits
  6. 27 Mar, 2003 6 commits