1. 15 Mar, 2002 29 commits
    • Mikael Pettersson's avatar
      [PATCH] boot_cpu_data corruption on SMP x86 · 1ae90c54
      Mikael Pettersson authored
      The patch below eliminates a case of boot_cpu_data corruption
      on SMP x86 machines. This was first observed on SMP Athlons,
      but it also affects SMP Intel boxes in a less serious way.
      
      When the secondary processors boot and execute head.S:checkCPUtype,
      the code performs a 32-bit write of a small constant to the
      byte-sized variable boot_cpu_data.x86 (X86 in head.S). Since the
      write is 32-bit, it also writes zeros to the following 3 bytes,
      which clobbers the x86_vendor, x86_model, and x86_mask fields
      previously set up by check_bugs()'s call to identify_cpu().
      Thus, after smp_init(), boot_cpu_data will _always_ identify
      the CPU as an Intel (X86_VENDOR_INTEL == 0 in processor.h) with
      model 0 and stepping 0.
      
      The effect in standard kernels is not catastrophic, since:
      (a) most SMP x86 boxes are Intel
      (b) most uses of x86_vendor occur before smp_init() or reference
          the SMP cpu_data[] array
      (c) most post-boot references to boot_cpu_data occur in the
          cpu_has_XXX macros which only read the x86_capability[] array
      However, third-party extensions (like my x86 performance-monitoring
      conters driver) can get seriously confused by this mis-identification.
      1ae90c54
    • Linus Torvalds's avatar
      Automerge · 27b350ef
      Linus Torvalds authored
      27b350ef
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - msdos/vfat · 2e8a9bc4
      Brian Gerst authored
      Don't print out FAT superblock warnings if the IO failed.
      2e8a9bc4
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - qnx4 · c4da2aea
      Brian Gerst authored
      Seperates qnx4_sb_info from struct super_block.
      c4da2aea
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - smbfs · 88774498
      Brian Gerst authored
      Seperates smb_sb_info from struct super_block.
      88774498
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - msdos/vfat · 2191d229
      Brian Gerst authored
      Seperates msdos_sb_info from struct super_block for msdos and vfat.
      Umsdos is terminally broken and is not included.
      2191d229
    • Brian Gerst's avatar
      [PATCH] Fix NR_IRQS when no IO apic · be5fc736
      Brian Gerst authored
      NR_IRQS should be 16 when the IO apic is not configured, as the 8259 PIC
      cannot generate any more interrupts.  It also fixes a bug where the IDT
      gets populated with random addresses, since only 16 entry stubs are
      created. 
      be5fc736
    • Brian Gerst's avatar
      [PATCH] Cleanup F00F bug code · a0816e18
      Brian Gerst authored
      This changes the F00F bug workaround code to use the fixmap facilities
      instead of touching the page tables directly.  It also removes the
      assumption that only 686's don't have the bug.  I have confirmation that
      the patch works on buggy pentiums. 
      a0816e18
    • Linus Torvalds's avatar
      779f1643
    • Alexander Viro's avatar
      [PATCH] nfsd-as-fs NULL ptr fix · 1b387f80
      Alexander Viro authored
      It needs the following patch
      1b387f80
    • Alexander Viro's avatar
      [PATCH] proc_pid_make_inode() fix · 11aec25f
      Alexander Viro authored
      	In case if proc_pid_make_inode() steps on exiting task we do
      iput() and return NULL.  Unfortunately, in that case inode->i_ino
      doesn't look like inumber of a per-process inode and we take the
      wrong path in proc_delete_inode().  I.e. do dput(PDE(inode)).  Which
      is left uninitialized...
      
      	We used to get out with that almost by accident - that code
      worked only because we had zeroed out one field of union and that
      guaranteed that another field would be NULL.  It worked, but broke
      at the first occasion.
      11aec25f
    • Alexander Viro's avatar
      [PATCH] nfsd as filesystem · 063b009f
      Alexander Viro authored
      * introduces a new filesystem - nfsd.  No, it's not a typo.  It's a small
        tree with fixed topology defined by nfsd and IO on its files does what
        we used to do by hand in nfsctl.c.
      * turns sys_nfsservctl() into a sequence of open()/write()/read()/close()
        It works as it used to - we don't need nfsd to be mounted anywhere, etc.
      * nfsd_linkage ugliness is gone.
      * getfs and getfh demonstrate (rather trivial) example of "descriptor as
        transaction descriptor" behaviour.
      * we are fairly close to the situation when driver-defined filesystems can
        be done with practically zero code overhead.  We are still not there, but
        it's a matter of adding a couple of helpers for populating the tree.
      
      	One thing we get immediately is a cleanup of sys_nfsservctl() -
      it got _much_ better.  Moreover, we get an alternative interface that
      uses normal file IO and can be used without magic syscalls.
      063b009f
    • Alexander Viro's avatar
      [PATCH] fix for leaks in nfsd · edb1bea5
      Alexander Viro authored
      Several exits in exp_export() forget to call path_release().  Fixed.
      edb1bea5
    • Alexander Viro's avatar
      [PATCH] fs/libfs.c · 5e689743
      Alexander Viro authored
      	Linus, I've taken a bunch of common methods into fs/libfs.c and
      killed the (duplicated) instances in filesystems.  There will be more -
      ideally I'd like to get a library that would make writing small filesystems
      trivial.
      5e689743
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · 4ce937cb
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      4ce937cb
    • Russell King's avatar
      [PATCH] 2.4 and 2.5: fix /proc/kcore · 80d504c8
      Russell King authored
      As mentioned on May 11 on LKML, here is a patch to fix /proc/kcore for
      architectures which do not have RAM located at physical address 0.
      80d504c8
    • Russell King's avatar
      [PATCH] 2.4 and 2.5: remove Alt-Sysrq-L · f9deb9e6
      Russell King authored
      The following patch removes Alt-Sysrq-L and its associated hack to kill
      of PID1, the init process.  This is a mis-feature.
      
      If PID1 is killed, the kernel immediately enters an infinite loop in the
      depths of do_exit() with interrupts disabled, completely locking the
      machine.  Obviously you can only reach for the reset button or power
      switch after this, leaving you with dirty filesystems.
      f9deb9e6
    • Russell King's avatar
      [PATCH] 2.5 and 2.4: fix PCI IO BAR flags · be4808e0
      Russell King authored
      There is a problem where the resource flags sometimes contain bits from
      the address part of the PCI BAR, especially when you have the low address
      bit set for an IO BAR.
      
      (bit 3 of a PCI IO BAR is an address bit, and (bar & 0xf) propagates this
      to res->flags).
      
      This exists in Ivan Kokshaysky PCI patches, and so far hasn't made it into
      the kernel.  It's required for IDE on certain ARM machines to even work.
      be4808e0
    • David Howells's avatar
      [PATCH] wait4() WIFSTOPPED starvation fix #2/2 · cd424f97
      David Howells authored
      This patch actually fixes the starvation bug in sys_wait4() by moving any
      process which is serviced for stoppage to the end of the child list.
      cd424f97
    • Linus Torvalds's avatar
      Cleanup: use list macros for task list · 4b035e53
      Linus Torvalds authored
      4b035e53
    • David Howells's avatar
      [PATCH] wait4() WIFSTOPPED starvation fix #1/2 · 3154d91d
      David Howells authored
      This patch (#1) just converts the task_struct to use struct list_head rather
      than direct pointers for maintaining the children list.
      3154d91d
    • Kai Germaschewski's avatar
      Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.make · 5d043fec
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      5d043fec
    • Kai Germaschewski's avatar
    • Kai Germaschewski's avatar
      Improve Rules.make to automatically generate link rules for composite · 9f1021aa
      Kai Germaschewski authored
      objects.
      
      Current behavior is not changed at all, but see the next cset for what
      it's good for.
      9f1021aa
    • Kai Germaschewski's avatar
      Fix drivers/pnp/Makefile to correctly list multi-part · 139d39f9
      Kai Germaschewski authored
      objects in $(list-multi), instead of $(multi-objs)
      139d39f9
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/misc-2.5 · dae77dde
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      dae77dde
    • Jeff Garzik's avatar
      Add BK kernel howto text and some helper scripts to · 5a70f6c0
      Jeff Garzik authored
      new subdirectory linux/Documentation/BK-usage.
      5a70f6c0
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/misc-2.5 · 82e6a99c
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      82e6a99c
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/net-drivers-2.5 · 24a17a26
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      24a17a26
  2. 14 Mar, 2002 11 commits