1. 11 Mar, 2003 17 commits
  2. 10 Mar, 2003 23 commits
    • Dave Jones's avatar
      [CPUFREQ] powernow-k7 lazy voltage setting. · 41a47e64
      Dave Jones authored
      41a47e64
    • Dave Jones's avatar
      [CPUFREQ] Fix documentation typos. · 02d1ded4
      Dave Jones authored
      02d1ded4
    • Andrew Morton's avatar
      [PATCH] ext2: fix directory handling bug · b84ba662
      Andrew Morton authored
      Patch from Dave Miller.  Fixes a very long-standing bug.
      
      If a process has an fd open against a now-removed directory, lookups on that
      fd will end up calling ext2_find_entry() against a zero-length directory.
      
      When this happens ext2_find_entry() will, on the first pass through the loop,
      set `kaddr' to page_address(page) - 20.  Things get confused and the "zero
      length directory entry" warning triggers.
      
      This only happens on 64-bit machines, because ext2_last_byte() is returning
      an unsigned (32-bit) value, and the arithmetic works out OK for 32-bit
      machines.
      
      So we change ext2_find_entry() to bale out immediately if the directory is
      zero-length.  All other directory-walking functions do this, but
      ext2_find_entry() forgot to, due to the search-from-the-last-place
      optimisation.
      b84ba662
    • Andrew Morton's avatar
      [PATCH] ext3: error handling robustness · 5c31c779
      Andrew Morton authored
      Fix a couple of ext3 error handling routines to not assume that the
      superblock has valid journal and buffer_head pointers.  These functions are
      called during mount and unmount and that may not be true.
      
      This should fix the oops which Zwane saw when mounting a corrupt filesystem.
      5c31c779
    • Andrew Morton's avatar
      [PATCH] Force cache alignment of task_structs · 39cb2588
      Andrew Morton authored
      I enabled the advanced use-after-free detector for large slab objects and the
      kernel oopsed.  This is because that debug code adds things at the head of
      the slab objects, and the kernel will die if task_structs are not
      well-aligned.
      
      The way to tell the slab allocator that it is not allowed to misalign objects
      from this slab is SLAB_MUST_HWCACHE_ALIGN.
      39cb2588
    • Andrew Morton's avatar
      [PATCH] Fix memleak in ircomm_core · 14fe8153
      Andrew Morton authored
      Patch from Oleg Drokin <green@linuxhacker.ru>
      
      There seems to be a memleak on error exit path.
      14fe8153
    • Andrew Morton's avatar
      [PATCH] Memleak in Windows Logical Disk Manager partition · 0f3b450d
      Andrew Morton authored
      Patch from Oleg Drokin <green@linuxhacker.ru>
      
         Not freeing allocated memory on error exit path.
      0f3b450d
    • Andrew Morton's avatar
      [PATCH] NCPFS memleak fix · 0c68742b
      Andrew Morton authored
      Patch from Petr Vandrovec <vandrove@vc.cvut.cz>
      Reported by Oleg Drokin.
      
          In NCP_IOC_SETOBJECTNAME handler, we allocated space (newname pointer),
          copy stuff from userspace to there and then assign userspace
          pointer to our internal structure, whoops!
      0c68742b
    • Andrew Morton's avatar
      [PATCH] work around gcc-3.x inlining bugs · 3028439e
      Andrew Morton authored
      Force inlining even when gcc-3.x is too confused to do it for us.
      3028439e
    • Andrew Morton's avatar
      [PATCH] fix console ordering default · b85b717c
      Andrew Morton authored
      The conversion of the console registration to an initcall-style thing has
      broken lots of people's setups.  It is now dependent upon linkage order and
      if you have both CONFIG_VT_CONSOLE and CONFIG_SERIAL_CONSOLE, no boot
      messages come out on the screen because the kernel is selecting the serial
      console first.
      
      It can be fixed by specifying console=tty0, but nobody is doing that.
      
      We can fix it up by placing drivers/char/ in front of drivers/serial/ in
      linkage order.
      b85b717c
    • Andrew Morton's avatar
      [PATCH] pnp warning fix · 8f8fc89f
      Andrew Morton authored
      The pnp_request_card_device() stub should return NULL, not -ENODEV.
      8f8fc89f
    • Andrew Morton's avatar
      [PATCH] fix typo in init/Kconfig · 05c65408
      Andrew Morton authored
      05c65408
    • Andrew Morton's avatar
      [PATCH] ACPI suspend/resume locking fix · a5b103cd
      Andrew Morton authored
      Patch from Andreas Mohr <andi@rhlx01.fht-esslingen.de>
      
      Need to retake the spinlock in __pdflush() before continuing.
      a5b103cd
    • 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