1. 30 Apr, 2003 25 commits
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · 2bb1ff4c
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      2bb1ff4c
    • Andrew Morton's avatar
      [PATCH] oom-killer locking fix · 5650a43b
      Andrew Morton authored
      From: William Lee Irwin III <wli@holomorphy.com>, Robert Love
      
      Add some spinlock protection around the oom-killer state.
      5650a43b
    • Andrew Morton's avatar
      [PATCH] config menu cleanups · 565b4425
      Andrew Morton authored
      From Robert Day, through "Randy.Dunlap" <rddunlap@osdl.org>
      
      This is a patch from Robert Day that does the following:
      
      1) shift menu item in "Processor type and features" menu
      2) clean up "Bus options" menu so it's actually hierarchical
      
      Part of it (moving X86_IO_APIC around) looked a little odd to me,
      so I asked Roman Zippel about it, and he replied:
      
      "It's correct, although I wouldn't call it a 'design quirk'. :)
      It forces one to group options which belong logically together and in this
      case X86_IO_APIC is really a bit misplaced, even if it's not visible."
      
      I have tested it (on 2.5.68-plain) and it does indeed make the menus
      more hierarchical.
      565b4425
    • Andrew Morton's avatar
      [PATCH] percpu counters cause UML compilation errors in with SMP · efa428ef
      Andrew Morton authored
      The percpu counters break UML SMP compilation (in current 2.5.58 bk snapshot)
      (first NR_CPUS undeclared in header, then dereference of incomplete structure
      in .c file)
      efa428ef
    • Andrew Morton's avatar
      [PATCH] aio support for block devices · 2bfd7eda
      Andrew Morton authored
      From: Janet Morgan <janetmor@us.ibm.com>
      
      Here's a small patch that adds aio_read and aio_write methods to the
      block device driver.
      2bfd7eda
    • Andrew Morton's avatar
      [PATCH] zone accounting race fix · 98605ba9
      Andrew Morton authored
      Fix a bug identified by Nikita Danilov: refill_inactive_zone() is deferring
      the update of zone->nr_inactive and zone->nr_active for too long - it needs
      to be consistent whenever zone->lock is not held.
      98605ba9
    • Andrew Morton's avatar
      [PATCH] lost_tick fixes · ba0846e2
      Andrew Morton authored
      From: john stultz <johnstul@us.ibm.com>
      
      - Whitespace fixes
      
      - Fix for the case where HZ != 1000 (pointed out by Mika Penttila).
      ba0846e2
    • Andrew Morton's avatar
      [PATCH] update nr_threads commentary · 75ab6eef
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      Update some no-longer-true comments around nr_threads locking.
      75ab6eef
    • Andrew Morton's avatar
      [PATCH] fs/ext3/super.c fix for orphan recovery error path · d514577e
      Andrew Morton authored
      From: Ernie Petrides <petrides@redhat.com>
      
      The problem resolved by this patch is that if a root file system has an
      error recorded from a previous mount, and then (when rebooting) the orphan
      recovery procedure is initiated, the recovery is correctly skipped but the
      file system is incorrectly left in a writable state.
      
      This causes the subsequent fsck to fail due to the root file system
      being dirty, and then requires manual intervention to get the system
      fully booted.
      d514577e
    • Andrew Morton's avatar
      [PATCH] simple mwave code cleanup · d37224c6
      Andrew Morton authored
      From: Paul B Schroeder <paulsch@haywired.net>
      
      The following patch simply moves the 'nr_registered_attrs' and
      'device_registered' variables in mwavedd.c into the MWAVE_DEVICE_DATA struct
      which is defined in mwavedd.h..
      d37224c6
    • Andrew Morton's avatar
      [PATCH] buffer.c unused vars · 6fc1e309
      Andrew Morton authored
      - Remove dead variable from block_read_full_page (Oleg Drokin)
      6fc1e309
    • Christoph Hellwig's avatar
      [PATCH] improved bdevname · 0948aa6d
      Christoph Hellwig authored
      0948aa6d
    • Andrew Morton's avatar
      [PATCH] proc_file_read fix · 72007d2d
      Andrew Morton authored
      From: Miklos.Szeredi@eth.ericsson.se (Miklos Szeredi)
      
      This fixes a problem with method 0 of proc_file_read (when the whole file
      is copied to the page).  The calculation of the final bytecount is wrong,
      and hence smaller then page size reads will give a truncated file.
      
      Current 2.4 kernels do it this way as well.
      72007d2d
    • Andrew Morton's avatar
      [PATCH] generic HDLC module API update · 3bf1ad5d
      Andrew Morton authored
      From: Krzysztof Halasa <khc@pm.waw.pl>
      
      Updates the HDLC drivers to the approved module API.
      3bf1ad5d
    • Andrew Morton's avatar
      [PATCH] allow modular JBD · 748b3ebb
      Andrew Morton authored
      From: Paul Clements <Paul.Clements@SteelEye.com>
      
      Currently, when I build ext3 as a module, jbd gets built into the kernel
      proper.  This trivial patch allows jbd to be built as a module when ext3 is
      also modular.  I believe this is the intention, as this is how it works in
      2.4.  I've built and tested with modular jbd and ext3 on 2.5.68.
      748b3ebb
    • Andi Kleen's avatar
    • Andrew Morton's avatar
      [PATCH] DAC960 patch to entry points with a new fix · 946f68b9
      Andrew Morton authored
      From: Dave Olien <dmo@osdl.org>
      
      Christoph submitted a patch to linus last week fixing up some DAC960 driver
      entry points.  That patch will OOPS during boot on version 2 controller
      types.  Christoph's version of the disk_size() function was dereferencing
      a NULL pointer in it's "else" clause.
      
      Christoph's patch hasn't appeared in linus's BK tree yet.  So, I'm
      resending Christoph's orignal patch with my fix to disk_size() included.
      This patch can be applied to the driver in Linus's BK tree from April 28.
      
      Here's Christoph's original description of his patch:
      
      Some grepping showed that DAC960's open routine was duplicating parts
      of check_disk_change().  I went on fixing this by implementing a
      media_changed method and making DAC960_Open use it.  While looking
      at the surrounding code I noticed that
      
        (a) all methods weren't using the private data the upperlayer
            hands to it properly, but instead using kdev_t-based indexes
        (b) DAC960_Open/DAC960_Release was keeping never used counters
        (c) DAC960_Open was doing tons of checks the upperlayer already does
        (d) DAC960_Release was entirely superflous.
      
      The patch below corrects that and rewrites the block entry points
      into readable code - 100 LOC are gone and the same amount replaced
      by readable code.
      946f68b9
    • Andrew Morton's avatar
      [PATCH] Fix warnings in xd.c · 9af8670a
      Andrew Morton authored
      Fix a few unused var warnings in drivers/block/xd.c
      9af8670a
    • Andrew Morton's avatar
      [PATCH] APM locking fix · b86904dd
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      apm.c:suspend() calls set_system_power_state() under (effectively)
      spin_lock_irq(i8253_lock).
      
      But set_system_power_state() unconditionally enables interrupts, in
      apm_bios_call_simple().  This generates nasty warnings from the uniprocessor
      spinlock debugging code, and would be deadlocky if APM worked on SMP.
      
      So drop the locks around the set_system_power_state() call.
      b86904dd
    • Andrew Morton's avatar
      [PATCH] irqs: bttv · f01c92ba
      Andrew Morton authored
      Update bttv driver to the new IRQ API.
      f01c92ba
    • Andrew Morton's avatar
      [PATCH] Fix slab-vs-gfp bitflag clash · e5ded0b1
      Andrew Morton authored
      Fixes a bug spotted by Alexey Mahotkin <alexm@hsys.msk.ru>: the slab-internal
      SLAB_NO_GROW bit clashes with __GFP_NORETRY.
      
      Fix that up so it won't happen again by moving the bit layout into gfp.h.
      e5ded0b1
    • Andrew Morton's avatar
      [PATCH] irqs: IRDA · c007c1ed
      Andrew Morton authored
      Some IRQ udpates for IRDA which seemed to get lost.
      c007c1ed
    • Andrew Morton's avatar
      [PATCH] irqs: i2c · 6e9f0111
      Andrew Morton authored
      IRQ API udpate in i2c-elektor.c
      6e9f0111
    • Rusty Russell's avatar
      [PATCH] __module_get · fbf7eda6
      Rusty Russell authored
      Introduces __module_get for places where we know we already hold
      a reference and ignoring the fact that the module is being "rmmod --wait"ed
      is simpler.
      fbf7eda6
    • Rusty Russell's avatar
      [PATCH] complete modinfo section · 67ac5b86
      Rusty Russell authored
      Restores .modinfo section, and uses it to store license and vermagic.
      67ac5b86
  2. 29 Apr, 2003 7 commits
  3. 30 Apr, 2003 1 commit
    • Stephen Hemminger's avatar
      Replace br_lock() in snap with Read Copy Update. · 93996134
      Stephen Hemminger authored
      Straightforward since SNAP uses list macros already.
      
      Tested by bringing up/down Appletalk on SMP system and making sure packets
      get through.
      
      This is the last subsystem that depends on br_lock before IPV4,IPV6
      can be converted.
      93996134
  4. 29 Apr, 2003 7 commits