1. 10 Mar, 2003 15 commits
    • Linus Torvalds's avatar
      416769ea
    • Linus Torvalds's avatar
      Merge bk://linux-pnp.bkbits.net/linux-pnp · 6cbb2ab5
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      6cbb2ab5
    • Andi Kleen's avatar
      [PATCH] x86-64 updates for 2.5.64-bk3 · a104ba57
      Andi Kleen authored
      Make x86-64 boot again after the INITIAL_JIFFIES changes
      and some bug fixes. Also some work for NPTL.
      
       - Merge with i386/2.5.64-bk3
       - Fix memory leak in copy_thread
       - arch_prctl uses GDT for base if possible. Cleanup.
       - clone supports bases >32bit for SETTLS etc. %fs hardcoded now.
       - new ptrace support for 64bit TLS
       - Disable (set|get)_thread_* for 64bit processes.
       - Audit arch/x86_64 for jiffies wrap issues.
       - Fix initial jiffies problem (that caused hanging kernels)
       - FIx a few 32bit emulation bugs (sigaltstack, sigqueue)
       - Some cleanup from Pavel
       - Should compile again as UP
       - Shrink size a bit by not putting exception tables into object files.
       - Fix compilation with gcc 3.3 :- force inlining when needed
       - Work around 2.5.64-bk3 console init bug.
       - Fix some alignments in assembly code
      a104ba57
    • Christoph Hellwig's avatar
      [PATCH] remove devfs_only() · c8eddecf
      Christoph Hellwig authored
      Rationale:  devfs_only does nothing but disabling {un,}register_blkdev
      and {un,}register_chrdev.  {un,}register_blkdev already do nothing but
      adding it's name argument to a lookup table for the __bdevname and
      /proc/device output so this use is already bogus.  The disabling of
      the character device per-major arrays can work in practice but is
      useless as any driver relying on it can't be used on non-devfs systems.
      c8eddecf
    • Christoph Hellwig's avatar
      [PATCH] i2c-core.c procfs updates · 45004d67
      Christoph Hellwig authored
      Cleanup the i2c procfs code a bit (less ifdef mess), partially based
      on the lm_sensors CVS code.
      45004d67
    • H. Peter Anvin's avatar
      [PATCH] Fix $(src) versus $(obj) · e9ec9186
      H. Peter Anvin authored
      This fixes a bunch of "src" versus "obj" confusions that apparently
      existed in my bootsect removal patch.  How embarrassing...
      e9ec9186
    • Andrew Morton's avatar
      [PATCH] revert "noirqbalance still doesn't do anything" · 5672553c
      Andrew Morton authored
      This recent patch caused Nick Piggin's 2xPIII VIA686B chipset machine into an
      interrupts-off lockup during IDE probing.
      
      We don't really know why - it might be because an interrupt is delivered to a
      secondary which doesn't expect it.
      
      I have a second patch from Zwane which solves the same problem in a different
      way, but until that's had some wider testing I suggest we just back off the
      original.
      5672553c
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · d3806951
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      d3806951
    • Matthew Wilcox's avatar
      [PATCH] neaten fs/locks.c a little · e87866ff
      Matthew Wilcox authored
       - Fix my email address to one which reaches me ;-)
       - Remove timer.h include as we don't use timers.
       - Add module.h.
       - Sort includes alphabetically.
       - Move EXPORT_SYMBOL from ksyms.c to locks.c.
       - Simplify locks_conflict().
      e87866ff
    • Linus Torvalds's avatar
      Use a fixed per-cpu SYSENTER_MSR_ESP value by having the sysenter · e3db4852
      Linus Torvalds authored
      entry routine load the real ESP0 off that per-cpu stack. Make this
      even faster by putting the sysenter stack in the per-CPU TSS, so
      that we can use the tss->esp0 value directly (which we have to
      update on task switches anyway).
      
      CAREFUL! This needs very subtle code for debug and NMI exceptions,
      to make sure we don't run with the sysenter stack in any real kernel
      code!
      e3db4852
    • Linus Torvalds's avatar
      Remove <asm-i386/xor.h>'s own home-made FPU begin/end macros, · f58a69aa
      Linus Torvalds authored
      use the real ones instead.
      f58a69aa
    • David S. Miller's avatar
      Merge nuts.ninka.net:/home/davem/src/BK/network-2.5 · c60ef48a
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      c60ef48a
    • Randy Dunlap's avatar
      [SNMP]: Fix SNMP_STAT_{USR,BH}PTR. · 332cb5d3
      Randy Dunlap authored
      332cb5d3
    • Gerd Knorr's avatar
      [PATCH] v4l: video-buf update · 8da730e9
      Gerd Knorr authored
      This patch is a update for the video-buf mm helper module.  It has
      some minor bugfixes and a number of signed/unsigned cleanups to make
      gcc 3.3 happy.
      8da730e9
    • Linus Torvalds's avatar
      Move "used FPU status" into new non-atomic thread_info->status field. · 450b4497
      Linus Torvalds authored
      This allows us to avoid having to use atomic updates for the lazy FP
      status setting, since we don't have to worry about other CPU's racing
      on the fields.
      
      Also, fix x86 FP state after fork() by making sure the FP is unlazied
      _before_ we copy the state information. Otherwise, if a process did a
      fork() while holding the FP state lazily in the registers, the child
      would incorrectly unlazy bogus state.
      450b4497
  2. 09 Mar, 2003 15 commits
  3. 08 Mar, 2003 10 commits
    • Martin J. Bligh's avatar
      [PATCH] NUMA scheduler fixup · f8546efb
      Martin J. Bligh authored
      From: Ingo Molnar <mingo@elte.hu>
      
      This cleans up the NUMA scheduler to have separate triggers for idle
      and busy rebalance ratio, preventing some complex interactions where
      idle cpus can cause busy ones to busy rebalance more often. The core
      functionality of this patch is rebalace_tick().
      
      Tested in -mjb tree for over 1 month ... no problems at all found -
      retested on top of 64-bk3 with new scheduler updates.
      f8546efb
    • Andrew Morton's avatar
      [PATCH] fix a warning in eepro100.c · 5871d7a1
      Andrew Morton authored
      Remove the unneeded forward declaration of eepro100_remove_one().
      
      It is defeating the __attribute__(unused) tag on the definition of
      eepro100_remove_one() and is causing a "defined but not used" warning.
      5871d7a1
    • Andrew Morton's avatar
      [PATCH] revert the "remove kernel_flag" patch · d7ed858e
      Andrew Morton authored
      With CONFIG_SMP=n, CONFIG_PREEMPT=y, CONFIG_DEBUG_SPINLOCK=y we get many
      undefined refs to kernel_flag.
      
      This is because spinlock debugging works on uniprocessor kernels now, and it
      stores state inside the spinlock structure to do this.
      
      Having working spinlock debugging on UP kernels seems more important than
      saving four bytes, so...
      d7ed858e
    • Andrew Morton's avatar
      [PATCH] remove compile warning from serial console initcall · 09d468ed
      Andrew Morton authored
      Patch from: "Martin J. Bligh" <mbligh@aracnet.com>
      
      This tiny patch removes the new compiler warning from my build - the new
      console_initcall mechanism seems to require int from console_init ...  I made
      serial8250_console_init look like con_init
      09d468ed
    • Andrew Morton's avatar
      [PATCH] rpc_delete_timer race fix · 24b6f31e
      Andrew Morton authored
      Patch from Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>
      
      Fix a race wherein timer_pending() returns false, but the timer handler is
      actually running on another CPU.  We need to call del_timer_sync()
      regardless, so we wait for completion of the handler.
      24b6f31e
    • Andrew Morton's avatar
      [PATCH] missing spin_unlock() in sysfs_remove_dir() · 4398ab46
      Andrew Morton authored
      missing spin_unlock() in sysfs_remove_dir()
      4398ab46
    • Andrew Morton's avatar
      [PATCH] raw.c: dev_t cleanup and oops fix · 0fff81de
      Andrew Morton authored
      Patch from Andries.Brouwer@cwi.nl
      
      The next patch in the dev_t series eliminates the last applied use
      of MAX_BLKDEV - only the definition in major.h remains.
      
      Sneaky as I am, I combine this patch with the fix for an Oops:
      On open, raw_open does
      	filp->f_dentry->d_inode->i_mapping =
      		bdev->bd_inode->i_mapping;
      storing a pointer to bdev stuff.
      But on release this pointer stayed, the block device is not
      referenced anymore and disappears, and the next open references
      undefined stuff.
      I checked, and this can actually cause an Oops - scenario:
      
        # raw /dev/raw/raw12 /dev/hdf
        # dd if=/dev/raw/raw12 of=/dev/null bs=512 count=1
        # raw /dev/raw/raw12 0 0
        # dd if=/dev/raw/raw12 of=/dev/null bs=512 count=1
      
      Oops.
      
      More precisely the problem is that dentry_open does
      file_ra_state_init(&f->f_ra, inode->i_mapping);
      And file_ra_state_init uses mapping->backing_dev_info->ra_pages.
      Ugly, to use so much information about the inode even before
      the inode has been opened.
      
      In the patch below I reset i_mapping upon release of the raw device.
      
      akpm: I fixed a typo and exported default_backing_dev_info to GPL modules for
      this.
      0fff81de
    • Andrew Morton's avatar
      [PATCH] Disable the "Unknown IO_APIC" message · 5c0d76c6
      Andrew Morton authored
      This message is the source of 90% of the traffic on linux-smp and is now
      starting to fill up kernel bugzilla.
      
      Nobody has ever actually done anything about it and the message is wasting
      people's time.  Ingo acked this change.
      5c0d76c6
    • Andrew Morton's avatar
      [PATCH] Larger buffer for /proc/interrupts display · 616862dc
      Andrew Morton authored
      Patch from Zwane Mwaikambo <zwane@linuxpower.ca>
      
      Scale the buffer which is used for accumulating the /proc/interrupts output.
      On large SMP it overflows.
      616862dc
    • Andrew Morton's avatar
      [PATCH] fix SMP lockup in eepro100 with ethtool on unused · 260a4381
      Andrew Morton authored
      Patch from Jason Lunz <lunz@falooley.org>
      
      When support for the GSET and SSET ethtool ioctls was added to eepro100.c in
      2.4.20, the tx lock was overloaded to serialize their use.  Unfortunately,
      this lock is only initialized in dev->open(), causing ethtool to deadlock the
      machine when used on an unconfigured eepro100 interface.
      
      The fix is to initialize the spinlock at probe time.
      260a4381