1. 11 Feb, 2003 19 commits
  2. 10 Feb, 2003 21 commits
    • Andrew Morton's avatar
      [PATCH] Get 3c59x to compile on non-PCI systems · 2b009dcf
      Andrew Morton authored
      Patch from Marc Zyngier <mzyngier@freesurf.fr>
      
      My previous round of EISA hacking left the 3c59x driver unable to
      compile on non-PCI systems (that is, EISA only...).
      
      This small patch fixes it.
      2b009dcf
    • Andrew Morton's avatar
      [PATCH] 3c509 compile fix · eb53fa9d
      Andrew Morton authored
      Patch from Marc Zyngier <mzyngier@freesurf.fr>
      
      Fix compilation of 3c509.c
      eb53fa9d
    • Andrew Morton's avatar
      [PATCH] fix current->user->processes leak · b789ebfc
      Andrew Morton authored
      Patch from: Eric Lammerts <eric@lammerts.org>
      
      Every time you do a loop mount, a kernel thread is started (those
      processes are called "loop0", "loop1", etc.). The problem is that when
      it starts, it's counted as one of your processes. Then, it's
      changed to be a root-owned process without correcting that count.
      
      Patch below fixes the problem. It moves the bookkeeping of changing
      current->user to a new function switch_uid() (which is now also used
      by exec_usermodehelper() in kmod.c). The patch is tested.
      b789ebfc
    • Andrew Morton's avatar
      [PATCH] remove the buffer_head mempool · 3322be32
      Andrew Morton authored
      mempools have the wrong semantics for use by buffer_heads.  The problem
      scenario:
      
      - Process A calls mempool_alloc(), asking for a buffer_head.
      
      - While process A sleeps, process B frees up a ton of memory.
      
      That's it.  There is no longer any memory pressure, so nobody frees any
      buffer_heads, so process A does not get woken up.  I managed to trigger this
      in some testing recently.
      
      One approach would be to use a schedule_timeout(2) in mempool_alloc().
      
      Anyway, the importance of buffer_head allocation was lessened when swapout
      stopped using them, so let's just drop the mempool out of it for now.
      3322be32
    • Andrew Morton's avatar
      [PATCH] Don't run unlock_super() in ext3_fill_super() · e1f3b1fc
      Andrew Morton authored
      A very long time ago ext3_fill_super() was beng called under the VFS's
      lock_super(), and it had to drop that lock for deadlock avoidance reasons.
      
      But the VFS was later changed to not take lock_super() across ->fill_super(),
      so we're upping a non-downed semaphore.
      
      Just take it out.
      e1f3b1fc
    • Andrew Morton's avatar
      [PATCH] ext3 commenting cleanup · ec07c5c1
      Andrew Morton authored
      Redo the (strange) layout of some of Roger's comments.
      ec07c5c1
    • Andrew Morton's avatar
      [PATCH] remove unneeded test from radix_tree_extend() · b9df0268
      Andrew Morton authored
      Patch from: Szabolcs Berecz <szabi@mplayerhq.hu>
      
      No need to check root->rnode in the loop. In the loop it remains nonzero.
      b9df0268
    • Andrew Morton's avatar
      [PATCH] hugetlbpage MAP_FIXED fix · 01c42c0c
      Andrew Morton authored
      We need to validate that the address and length of a MAP_FIXED request are
      suitable for hugetlb pages.
      01c42c0c
    • Andrew Morton's avatar
      [PATCH] nforce2 IDE support for the amd74xx driver · 638987b3
      Andrew Morton authored
      Patch from James Curbo <phoenix@sandwich.net>
      
      The amd74xx IDE driver in 2.5.59 has support for the nforce IDE controller,
      but not explicitly for the nforce2 IDE controller (which has a different PCI
      ID, which is in the kernel already).  I'm not sure if the nforce and nforce2
      controllers are identical, but I made a small patch that made the amd74xx
      driver recognize the nforce2 IDE, and it boots for me, seems to work fine, as
      my drives were tuned to their highest transfer rate automatically (udma5).
      
      I don't know if this patch is proper or correct, but it Works for Me [tm].
      Patch is attached.
      
      Vojtech has acked this change.
      638987b3
    • Andrew Morton's avatar
      [PATCH] Add David Olien MAINTAINERs for DAC960 · 345c3633
      Andrew Morton authored
      (I asked Dave for this...)
      
      From: Dave Olien <dmo@osdl.org>
      
      Add me as maintainer for DAC960 driver.
      345c3633
    • Andrew Morton's avatar
      [PATCH] DAC960 Stanford Checker fix · c62143fd
      Andrew Morton authored
      Patch from Dave Olien <dmo@osdl.org>
      
      This was found by the Standford Checker.
      The LogicalDeviceNumber bad range test was changed from > to >=
      I also replaced a couple of panic() calls with error messages,
      since panic-ing seemed a little extreme.
      c62143fd
    • Andrew Morton's avatar
      [PATCH] ext3: Remove journal_try_start() · 2ac28750
      Andrew Morton authored
      journal_try_start() is a function which nonblockingly attempts to open a JBD
      transaction handle.  It was added a long time ago when there were concerns
      that ext3_writepage() could block kswapd for too long.
      
      It was never clearly necessary.
      
      So the patch throws it all away and just calls the blocking journal_start()
      from ext3_writepage().
      2ac28750
    • Andrew Morton's avatar
      [PATCH] NUMAQ io_apic programming fix · 537ca630
      Andrew Morton authored
      Patch from William Lee Irwin III <wli@holomorphy.com>
      
      Don't touch IO-APIC physid's on NUMA-Q. The BIOS pre-programs them.
      537ca630
    • Andrew Morton's avatar
      [PATCH] use per-cpu data for ia32 profiler · b23ee846
      Andrew Morton authored
      Patch from Ravikiran G Thirumalai <kiran@in.ibm.com>
      
      Converts the ia32 kernel profiler to use use the percpu area infrastructure.
      b23ee846
    • Andrew Morton's avatar
      [PATCH] uninline get_jiffies_64() for 32-bit architectures · 9bba8dd6
      Andrew Morton authored
      uninline get_jiffies_64() for 32-bit architectures
      9bba8dd6
    • Kai Germaschewski's avatar
      kbuild: Allow for ',$ in commands · e9dfd3da
      Kai Germaschewski authored
      Quote ',$ before passing them to the shell - ' must be escaped for
      echo, $$ will be converted to $ by make.
      
      This allows to use e.g. perl commands in the build with support
      from the generic $(call if_changed,...).
      
      by Konrad Eisele
      e9dfd3da
    • Kai Germaschewski's avatar
      kbuild: Customflags for cmd_objcopy · 2c683742
      Kai Germaschewski authored
      From Konrad Eisele:
      
      > like with cmd_ld in scripts/Makefile.lib having possibility to add 
      > customflags with cmd_objcopy would be nice. When building a
      > ROMKernel I'd like to use:
      > OBJCOPYFLAGS_rompiggydata := --remove-section=.text
      > OBJCOPYFLAGS_$(MODEL)piggytext := --only-section=.text
      2c683742
    • Kai Germaschewski's avatar
      kbuild: cosmetics · be2bf2df
      Kai Germaschewski authored
      From ram <ram@curvesoft.com>:
      
      > Appended below is a small patch to the top-level makefile; it
      > -- replaces a call to $(shell/echo/sed) with $(subst) and adds a 
      >    comment
      > -- fixes some typos.
      be2bf2df
    • Kai Germaschewski's avatar
      kbuild: Handle the "no modules" case · 51508a2d
      Kai Germaschewski authored
      When the user selects CONFIG_MODVERSIONS but doesn't build anything
      modular, the post-processing step does nothing (right, as there is
      nothing to be done), but it also gave an error, which it shouldn't.
      51508a2d
    • Kai Germaschewski's avatar
      kbuild: sed compatibility fixes · e9b2908a
      Kai Germaschewski authored
      Some versions of sed seem to think \w, as in word, doesn't include
      digits, which breaks the build with CONFIG_MODVERSIONS. So we
      just use the more compatible [<space><tab>]*.
      e9b2908a
    • Randy Dunlap's avatar
      [PATCH] checker bounds/limits fixes · 498b9cb8
      Randy Dunlap authored
      Part of the bounds checking bugs found by the Stanford checker.
      
      The 4 fixes below have been acked by their maintainers.
      498b9cb8