1. 07 Jan, 2003 7 commits
    • Martin J. Bligh's avatar
      [PATCH] nuke clustered_apic_mode and friends · 53b45352
      Martin J. Bligh authored
      OK, the grand finale ... NUMA-Q is now moved into subarch, so we can
      kill off the last vestiges - CONFIG_CLUSTERED_APIC, clustered_apic_mode,
      and smpboot.h (which only contains machine specific stuff now anyway).
      the esr_disable switch was the last bit, that goes to subarch too.
      
      If you end up with an empty smpboot.h due to patch / bitkeeper interactions,
      please remove it after this ...
      53b45352
    • Martin J. Bligh's avatar
      [PATCH] remove clustered_apic_mode from smpboot.c · fc9e733f
      Martin J. Bligh authored
      This removes clustered_apic_mode from smpboot.c into subarch,
      creating a headerfile "mach_wakecpu" for all the cpu wakeup stuff.
      This is pretty much the last of clustered_apic_mode ... ;-)
      fc9e733f
    • Martin J. Bligh's avatar
      [PATCH] cleanup apicid <-> cpu mapping · 2336aab7
      Martin J. Bligh authored
      To be honest, I have no idea what I was smoking when I wrote this
      originally, and it's kind of coincidental that it works at all currently.
      
      We never use physical apicids after the cpus are all booted, so we should
      just store the logical IDs which all subsequent things use. The only things
      that were using the apicid->cpu mapping were hokey anyway, and it's hard to
      maintain for machines that have a large apic addressing space (eg P4s
      in clustered mode). Rips out everything except the mapping from
      logical_apic_id -> cpu.
      2336aab7
    • Martin J. Bligh's avatar
      [PATCH] move one more to subarch, general tidy up · eeeb35ba
      Martin J. Bligh authored
      Moves check_phys_apicid_present() into subarch, and cleans up a
      couple of stupid errors, and some bracketing issues in the macros.
      eeeb35ba
    • Martin J. Bligh's avatar
      [PATCH] changes do_boot_cpu to return an error code · cbda465e
      Martin J. Bligh authored
      Patch from James Cleverdon
      
      Changes do_boot_cpu to return an error code, instead of trying to
      work it out later by magic and voodoo. Removes the other usage
      of apicid->cpu which is hard to maintain cleanly.
      cbda465e
    • Martin J. Bligh's avatar
      [PATCH] make i386 topology caching · ff479131
      Martin J. Bligh authored
      Patch originally by Matt Dobson. Reworked a little by me.
      
      Stores the mappings between cpus and nodes in an array, instead of
      working them out every time. Gives about 4% off systime for kernel
      compile (we use these for every page allocation), and removes one
      of the two only usages of apicid->cpu mapping, which is really awkward
      to keep for systems with large apic spaces, and is genererally pretty
      useless anyway (later patch removes).
      ff479131
    • Martin J. Bligh's avatar
      [PATCH] create generalised apic_to_node mapping · 0b31514d
      Martin J. Bligh authored
      Create a generalised apicid_to_node mapping, replacing the local
      apicid_to_quad I had just locally in NUMA-Q subarch before.
      0b31514d
  2. 01 Jan, 2003 13 commits
    • Linus Torvalds's avatar
      Linux v2.5.54 · 4c55cc62
      Linus Torvalds authored
      4c55cc62
    • Linus Torvalds's avatar
      Remove old kernel version test that didn't even compile. · 6cffdc8a
      Linus Torvalds authored
      Noted by Steven Barnhart <sbarn03@softhome.net>
      6cffdc8a
    • Rusty Russell's avatar
      [PATCH] Modules 3/3: Sort sections · 5b2f8076
      Rusty Russell authored
      RTH's final complaint (so far 8) was that we should sort the module
      sections: archs might require some sections to be adjacent, so they can
      all be reached by a relative pointer (ie.  GOT pointer).  This
      implements that reordering, and simplfies the module interface for
      architectures as well.
      
      Previously an arch could specify it wanted extra space, but not where
      that space would be.  The new method (used only by PPC so far) is to
      allocate an empty section (in asm/module.h or by setting LDFLAGS_MODULE
      to use an arch specific linker script), and expand that to the desired
      size in "module_frob_arch_sections()".
      5b2f8076
    • Rusty Russell's avatar
      [PATCH] Modules 2/3: Use sh_addr instead of sh_offset · 18f7a1ae
      Rusty Russell authored
      From: Richard Henderson <rth@twiddle.net>
      
      Richard points out that we should be using sh_addr to hold the address,
      
      The original patch used to overload sh_offset to a pointer to the
      location of the section.  This uses sh_addr, which is more correct
      and less surprising.
      18f7a1ae
    • Rusty Russell's avatar
      [PATCH] Modules 1/3: remove common section handling · dfe2cbd1
      Rusty Russell authored
      As RTH pointed out, we use -fno-common for the kernel (otherwise we'd
      have to sort out the small symbols anyway).
      
      So the common section allocation in the module code is pointless.
      dfe2cbd1
    • Linus Torvalds's avatar
      Ignore generated files in lib/ · d434727a
      Linus Torvalds authored
      d434727a
    • Linus Torvalds's avatar
    • Andrew Morton's avatar
      [PATCH] quota locking update · b0de9c76
      Andrew Morton authored
      I've been carrying this since Jan sent it out a month or two ago.
      I don't know if anyone has tested it though.  The sort of people
      who use quotas tend to like nice stable kernels.  I read through it,
      but can't say that I know enough about quotas to know if it makes sense.
      The wait_on_dquot() synchronisation is a bit odd.
      
      I do need to do a round of stability testing with this and ext3 - the
      interaction between quotas and ext3 is an area where we've had deadlocks
      in the past.
      
      But the quota locking is definitely looking crufty, and I'd suggest that
      we run with this..
      
      
      Patch from Jan Kara <jack@suse.cz>
      
      "I'm resending you the patch with new quota SMP locking.  The patch removes
       BKL and replaces it with two spinlocks protecting quota lists and data
       stored in dquot structures.  Also non-SMP locking was changed a bit make SMP
       locking easier (eg.  we got rid of not very nice dq_dup_ref counters).  The
       patch is against 2.5.48 but applies well also to 2.5.49.  Would you please
       apply the patch?"
      
      
      - Change dqoff_sem from a semaphore to an rwsem.
      
      - Convert dqi_flags from an int to a ulong and use test_bit/set_bit rather
        thatn &/|
      
      - The various exported quota operations now run without lock_kernel().
        This means that things like DQUOT_ALLOC_SPACE no longer take lock_kernel()
        in out high-perfomance filesystems.  Nice.
      
      - Replace lock_kernel() in the quota code with two quota-private global
        locks.
      
      - Replace all the open-coded waitqueue management with a semaphore
        (wait_on_dquot())
      b0de9c76
    • Christoph Hellwig's avatar
      [PATCH] some ppp/usecount bug · f5254cb3
      Christoph Hellwig authored
      There's a bunch of useless MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT in
      ppp-related code when it manipulates the use count in functions
      that are only called from other modules, i.e. it's locked in by
      the depencies anyway.  Get rid of it.
      f5254cb3
    • Christoph Hellwig's avatar
      [PATCH] devfs creptomancy · 3d1864bc
      Christoph Hellwig authored
      As already state in the thread about Adam's devfs reimplementation there
      is much devfs functionality that is unused or only used by the
      arch/ia64/sn/ code that currently doesn't even compile in 2.5 and that
      will get it's own filesystem that fits the needs better when SGI moves
      to 2.6.
      
      (the first hunk is the only exception to the above rule, but it's just
      a debug printk :))
      3d1864bc
    • Christoph Hellwig's avatar
      [PATCH] include <linux/vfs.h> only in files actually needing it · 5a7a781f
      Christoph Hellwig authored
      fs.h only needs the forward-declaration of struct statfs
      5a7a781f
    • Tomas Szepe's avatar
      038867f7
    • Pam Delaney's avatar
      [PATCH] Fusion-MPT Update (2.03.01.01) · 17bb4650
      Pam Delaney authored
      This upgrades the Fusion-MPT driver from 2.03.00.02 to 2.03.01.01.
      
      Bug Fixes:
       o Added back missing queuecommand entry point define ?!
       o Added to code to break marriage of two controllers during unload
        (could cause a panic)
       o SCSI driver will de-register with base driver if no SCSI-capable
         adapters found
      
      Minor Changes:
       o Removed errant spaces at ends of lines  (most of the changes)
       o Moved code around (and in-lined) some functions for performance reasons.
       o Modified /proc functionality to facilitate testing with 2.5
       o Added a call to synchronize_irq on unload (HP request)
       o Modified load of base to close a potential hole
       o Added code to set the FW IO coalescing depth (IBM request)
       o Changed return when mptctl driver registration fails (Kernel.org request)
       o SCSI driver detect routine calls a generic spinlock for all kernels
         (Kernel.org request)
       o Controller RAID page dynamic instead of static
      
      Currently running a multi-disk stress test w/ 2.5.53,  this patch and driver
      built-in. Verified basic reset handling is working properly.
      17bb4650
  3. 31 Dec, 2002 20 commits