1. 18 Jan, 2003 1 commit
  2. 16 Jan, 2003 30 commits
    • Martin J. Bligh's avatar
      [PATCH] (3/3) NUMA rebalancer · 63ffe4d6
      Martin J. Bligh authored
      Patch from Erich Focht
      
      This adds a hook to rebalance globally across nodes every NODE_BALANCE_RATE
      iterations of the rebalancer. This allows us to easily tune on an architecture
      specific basis how often we wish to rebalance - machines with higher NUMA
      ratios (more expensive off-node access) will want to do this less often.
      It's currently set to 100 for NUMA-Q and 10 for other machines. If the
      imbalance between nodes is > 125%, we'll rebalance them. The hook for this
      is added to the NUMA definition of cpus_to_balance, so again, no impact
      on non-NUMA machines.
      63ffe4d6
    • Martin J. Bligh's avatar
      [PATCH] (2/3) Initial load balancing · f01419fd
      Martin J. Bligh authored
      Patch from Michael Hohnbaum
      
      This adds a hook, sched_balance_exec(), to the exec code, to make it
      place the exec'ed task on the least loaded queue. We have less state
      to move at exec time than fork time, so this is the cheapest point
      to cross-node migrate. Experience in Dynix/PTX and testing on Linux
      has confirmed that this is the cheapest time to move tasks between nodes.
      
      It also macro-wraps changes to nr_running, to allow us to keep track of
      per-node nr_running as well. Again, no impact on non-NUMA machines.
      f01419fd
    • Martin J. Bligh's avatar
      [PATCH] (1/3) Minimal NUMA scheduler · 5f24fe82
      Martin J. Bligh authored
      Patch from Martin J. Bligh
      
      This adds a small hook to the find_busiest_queue routine to allow us to
      specify a mask of which CPUs to search over. In the NUMA case, it will
      only balance inside the node (much cheaper to search, and stops tasks
      from bouncing across nodes, which is very costly). The cpus_to_balance
      routine is conditionally defined to ensure no impact to non-NUMA machines.
      
      This is a tiny NUMA scheduler, but it needs the assistance of the second
      and third patches in order to spread tasks across nodes.
      5f24fe82
    • Christoph Hellwig's avatar
      [PATCH] remove MOD_IN_USE · ca58c4b6
      Christoph Hellwig authored
      Another left-over from ancient module code, it was supposed to return
      non-zero if the module has a use count, but currently it always
      evaluates to 0.
      
      There are a few users of different types:
      (1)  ioctl that perform a while(MOD_IN_USE) MOD_DEC_USE_COUNT loop.
           Just rip them out, we now have forced module unloading.
      (2)  printk's that moan if the use-count in not zero in the exitfunc.
           Just rip them out, this can't happen.
      (3)  if(MOD_IN_USE) MOD_DEC_USE_COUNT constructs in ->close of a few
           serial drivers.  Just remove the conditional, we did a
           MOD_INC_USE_COUNT in ->open.
      (4)  This one is interesting:  drivers/sbus/char/display7seg.c uses
           the module use count to track openers.  Replace this with an
           atomic_t.
      
      In addition remove tons of stale comments in network driver that aren't
      understandable for anyone who doesn't know ancient Linux module semantics.
      ca58c4b6
    • Andi Kleen's avatar
      [PATCH] x86_64 update · cf34d923
      Andi Kleen authored
      x86-64 updates for 2.5.58. Changes only x86-64 specific files.
      
       - Rewrote module allocation. Lots of bugs fixed. Module loading
         should work now again.
       - Kconfig help fixes from Randy Dunlap
       - Makefile cleanups from Pavel Machek and Sam Ravnborg
       - Assembly cleanups from Pavel
       - defconfig update
       - Better strlen_user/strnlen_user
       - Merge with i386: new ptrace commands, 32bit vsyscall signal trampolines
      		new deactivate_mm, add asm/bug.h
       - Make sure initramfs is freed after booting (thanks to Kai for the hint)
       - User per cpu data for profile counters (Ravikiran Thirumalai)
       - 32bit compat_* updates from Stephen Rothwell
       - Fix race in context switch. The exception handler for bogus segment
         loads in __switch_to needs to keep interrupts disabled, otherwise an
         interrupt can deadlock on scheduler locks.  Also make sure they don't
         printk or set oops_in_progress during printk because printk does a
         wake_up too.
       - Disable 64bit GS base changes for processes.  I cannot get it to work
         reliably.
       - Clear IOPL on kernel entry
      cf34d923
    • Linus Torvalds's avatar
      Merge http://linux-voyager.bkbits.net/eisa-sysfs-2.5 · 188db2b9
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      188db2b9
    • Marc Zyngier's avatar
      EISA sysfs AIP update · eb420b6f
      Marc Zyngier authored
      Without it, unloading a module
      leads to some unpleasant oops...
      eb420b6f
    • Marc Zyngier's avatar
      5417f5ea
    • Marc Zyngier's avatar
      EISA naming database · 1416b996
      Marc Zyngier authored
      Please note that the naming DB is now completely optional. If there is
      no eisa.ids in the drivers/eisa/ directory, build will behave as if
      CONFIG_EISA_NAMES is disabled. So this patch can be left out if there
      is any objection.
      1416b996
    • Marc Zyngier's avatar
      sysfs EISA support · fc9739df
      Marc Zyngier authored
      Base patch adding sysfs support for the EISA bus
      fc9739df
    • Christoph Hellwig's avatar
      [PATCH] remove GET_USE_COUNT · 91f5fe70
      Christoph Hellwig authored
      This is a left-over from the old modules code, Rusty stubbed it out
      to always return 0.  Three scsi pcmcia driver check it for beeing non-NULL,
      trying to work around their unload races.  I've added #warnings there
      and stubbed out the GET_USE_COUNT so we can remove it from the core.
      91f5fe70
    • Christoph Hellwig's avatar
      [PATCH] fix signed/unsigned issue in SGI partitioning code · 76540ee0
      Christoph Hellwig authored
      The Linux code for SGI partitions uses an int instead of an unsigned int
      in the ondisk structure in two places, which breaks > TB partitions.
      
      While porting the code over from an internal 2.4-based tree I've also
      switched it to use the explicit uXX/sXX types everywhere and moved the
      struct defintions above sgi_partition().
      76540ee0
    • James H. Cloos Jr.'s avatar
      [PATCH] alsa before oss in Kconfig · 235b9607
      James H. Cloos Jr. authored
        Move ALSA before OSS
      235b9607
    • James H. Cloos Jr.'s avatar
      [PATCH] i8k driver cleanups · db9a1728
      James H. Cloos Jr. authored
        The input system in 2.5 is able to see the volume keys on inspiron
        notebooks w/o help from i8k.c.  This patch therefore removes the
        new code from i8kutils-1.17 for feeding those keypresses to the
        keyboard driver.
      
        This leaves only MODULE_PARM(restricted, "i") as the useful addition
        to what was in 2.5.58's i8k.c.  This module parm restricts control of
        the system fans to processes with CAP_SYS_ADMIN set.
      db9a1728
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · a358e2a5
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      a358e2a5
    • Kai Germaschewski's avatar
      kbuild: kallsyms cleanup · 89f97c42
      Kai Germaschewski authored
      There's no need to alias the kallsyms-related symbols to a dummy
      variable, we can as well just do the sanity check against NULL.
      89f97c42
    • Kai Germaschewski's avatar
      kbuild: Make asm-generic/vmlinux.lds.h usable for IA-64 · 8db9d338
      Kai Germaschewski authored
        Allow for different LMA vs VMA (logical/virtual memory address).
        IA-64 uses the LMA to tell the bootloader the physical location
        of the image, whereas the VMA as always represents the address the
        image gets mapped to.
        
        The default (used for non IA-64) is LMA == VMA, which is what
        the linker previously assumed anyway.
        
      Also:
      o remove duplicate .rodata1 section
      o __vermagic doesn't need its own section in vmlinux, it can
        just go into .rodata
      o .kstrtab hasn't been used since the introduction of the new
        module loader, so it should be deleted from the linker scripts
        as well (except for arch/um, which does not seem up to date
        w.r.t the new module loader yet)
      o The kallsyms mechanism has changed to not need its own section,
        so again the references in the linker scripts can go away
      8db9d338
    • Kai Germaschewski's avatar
      kbuild/modules: Save space on symbol list · 7bf6b27c
      Kai Germaschewski authored
      The current code reserves 60 bytes for the symbol string of every
      exported symbol, unnecessarily wasting kernel memory since most symbols
      are much shorter. We revert to the 2.4 solution where the actual strings
      are saved out of line and only the pointers are kept.
      
      The latest module-init-tools already handle this case, people who are
      using older versions need to update to make sure depmod works
      properly.
      
      Saves 80 KB in vmlinux with my .config.
      7bf6b27c
    • Kai Germaschewski's avatar
      kbuild: fix broken kallsyms on non-x86 archs · 11aa9341
      Kai Germaschewski authored
      From: James Bottomley <James.Bottomley@steeleye.com>
        
      kallsyms is broken in parisc on 2.5.56 again because of assembler syntax
      subtleties.  This is the offending line:
        
      printf("\t.byte 0x%02x ; .asciz\t\"%s\"\n"
        
      Note the `;' separating the two statements.  On some platforms `;' is a
      comment in assembly code, and thus the following .asciz is ignored.
      11aa9341
    • Geert Uytterhoeven's avatar
      [PATCH] Mac/m68k NCR5380 SCSI updates · c9b1ca0d
      Geert Uytterhoeven authored
      Mac/m68k NCR5380 SCSI updates (forward port of Ray Knight's changes in 2.4.x):
        - Forward port of pseudo-DMA from 2.2.20
        - Move SCSI host template definition from mac_scsi.h to mac_scsi.c
      c9b1ca0d
    • Geert Uytterhoeven's avatar
      [PATCH] Generic RTC driver documentation · bc3e61c7
      Geert Uytterhoeven authored
      Generic RTC driver: fix spelling in documentation (from Geoffrey Lee
      <glee@gnupilgrims.org>)
      bc3e61c7
    • Geert Uytterhoeven's avatar
      [PATCH] Q40/Q60 keyboard fixes · d1a7e903
      Geert Uytterhoeven authored
      Q40/Q60 keyboard fixes:
        - IRQ definitions were prepended with Q40_
        - <asm/keyboard.h> no longer exists
        - Let q40kbd_init() fails if not running on a Q40/Q60
        - q40kbd_init() must return an error code
        - Make q40kbd_{init,exit}() static
      d1a7e903
    • Geert Uytterhoeven's avatar
      [PATCH] Atari ST-RAM swap update · d1143c12
      Geert Uytterhoeven authored
      Jeff removed the swap_device member from struct swap_info_struct
      (http://www.uwsg.iu.edu/hypermail/linux/kernel/0202.1/0258.html)
      but it is still used in the m68k arch for the ST-RAM. The below
      should remove it.
      
      Frankly, I didn't try compiling... My original intent was to move the
      swap_list definition from swap.h to mm/swapfile.c, but m68k still
      uses it here :( so perhaps this isn't possible. And I just happened to
      stumble upon this.
      
      (from Marcus Alanen <maalanen@ra.abo.fi> through Rusty Trivial Russell)
      d1143c12
    • Geert Uytterhoeven's avatar
      [PATCH] M68k generic RTC driver updates · 8d8bb7ce
      Geert Uytterhoeven authored
      M68k generic RTC driver updates:
        - Revive help text for CONFIG_GEN_RTC
        - Re-add lost config option for CONFIG_GEN_RTC_X
        - Re-add lost mach_get_ss()
        - Export mach_[gs]et_rtc_pll()
        - Add implementation of mach_get_ss() and mach_[gs]et_rtc_pll() for Q40/Q60
        - Add missing include
        - Add implementation of get_rtc_ss()
      8d8bb7ce
    • Geert Uytterhoeven's avatar
      [PATCH] Sun-3: Add missing deactivate_mm() · e465fe96
      Geert Uytterhoeven authored
      Sun-3: Add missing deactivate_mm() (yes, there should be two of them in
      include/asm-m68k/mmu_context.h: one for Motorola MMUs and one for Sun-3 MMUs)
      e465fe96
    • Geert Uytterhoeven's avatar
      [PATCH] M68k exception table updates · 9a5a65eb
      Geert Uytterhoeven authored
      M68k exception table updates to compensate for changes in 2.5.55
      9a5a65eb
    • Geert Uytterhoeven's avatar
      [PATCH] Q40/Q60 IRQ updates from 2.4.x · 4c942d72
      Geert Uytterhoeven authored
      Q40/Q60 IRQ updates from 2.4.x
      4c942d72
    • Geert Uytterhoeven's avatar
      [PATCH] Amiga keyboard fix · dfca615d
      Geert Uytterhoeven authored
      Amiga keyboard: the release bit indicates a key release, not a key press.
      dfca615d
    • Linus Torvalds's avatar
      Merge bk://are.twiddle.net/axp-2.5 · 41e69380
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      41e69380
    • Martin J. Bligh's avatar
      [PATCH] make vm_enough_memory more efficient · 688aaef8
      Martin J. Bligh authored
      vm_enough_memory seems to call si_meminfo just to get the total
      RAM, which seems far too expensive. This replaces the comment
      saying "this is crap" with some code that's less crap.
      688aaef8
  3. 15 Jan, 2003 5 commits
  4. 17 Jan, 2003 4 commits