10 Jul, 2007

1 commit

  • the SMP load-balancer uses the boot-time migration-cost estimation
    code to attempt to improve the quality of balancing. The reason for
    this code is that the discrete priority queues do not preserve
    the order of scheduling accurately, so the load-balancer skips
    tasks that were running on a CPU 'recently'.

    this code is fundamental fragile: the boot-time migration cost detector
    doesnt really work on systems that had large L3 caches, it caused boot
    delays on large systems and the whole cache-hot concept made the
    balancing code pretty undeterministic as well.

    (and hey, i wrote most of it, so i can say it out loud that it sucks ;-)

    under CFS the same purpose of cache affinity can be achieved without
    any special cache-hot special-case: tasks are sorted in the 'timeline'
    tree and the SMP balancer picks tasks from the left side of the
    tree, thus the most cache-cold task is balanced automatically.

    Signed-off-by: Ingo Molnar

    Ingo Molnar
     

27 Jun, 2007

5 commits


25 May, 2007

2 commits

  • Section mismatch: reference to .init.text:acpi_find_rsdp
    (between 'acpi_get_sysname' and 'acpi_request_vector')

    acpi_get_sysname() needs to call the __init function acpi_find_rsdp, but it
    doesn't have the __init attribute itself, hence the warning. Luckily it is
    only called from machvec_init() which has __init attribute, so the fix
    is to define acpi_get_sysname() as __init too.

    Signed-off-by: Tony Luck

    Tony Luck
     
  • Silly bug in _PDC data setup. Haven't seen any real side-effects of this one
    yet. But, needs fixing regardless.

    Signed-off-by: Venkatesh Pallipadi
    Signed-off-by: Tony Luck

    Venki Pallipadi
     

24 May, 2007

1 commit


23 May, 2007

4 commits

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] fix kmalloc(0) in arch/ia64/pci/pci.c
    [IA64] Only unwind non-running tasks.
    [IA64] Improve unwind checking.
    [IA64] Yet another section mismatch warning
    [IA64] Fix bogus messages about system calls not implemented.

    Linus Torvalds
     
  • Hiroyuki Kamezawa reported the problem that pci_acpi_scan_root() of
    ia64 might call kmalloc_node() with zero size.

    Currently ia64's pci_acpi_scan_root() assumes that _CRS method of root
    bridge has at least one resource window. But, the root bridges that
    has no resource window must be taken into account.

    Signed-off-by: Kenji Kaneshige
    Signed-off-by: Andrew Morton
    Signed-off-by: Tony Luck

    Kenji Kaneshige
     
  • Unwinding a running task has proven problematic.

    In one instance, the running task was attempting to unwind itself and
    received an interrupt between when get_wchan allocated local variables on
    the stack and when unw_init_from_blocked_task was called which resulted
    in unw_init_frame_info to place this tasks task_struct pointer over the
    switch stack's ar_bspstore entry.

    Signed-off-by: Robin Holt
    Signed-off-by: Tony Luck

    Robin Holt
     
  • This patch adds some sanity checks to keep register and memory stack
    pointers in the unw_frame_info structure within the tasks stack address
    range.

    Signed-off-by: Robin Holt
    Signed-off-by: Tony Luck

    Robin Holt
     

19 May, 2007

3 commits


17 May, 2007

1 commit


16 May, 2007

1 commit

  • Building with GCC 4.2, I get the following error:

    CC arch/ia64/kernel/mca.o
    arch/ia64/kernel/mca.c:275: error: __ksymtab_ia64_mlogbuf_finish causes a
    section type conflict

    This is because ia64_mlogbuf_finish is both declared static and exported.
    Fix by removing the export (which is unneeded now).

    Signed-off-by: Martin Michlmayr
    Signed-off-by: Tony Luck

    Martin Michlmayr
     

15 May, 2007

3 commits

  • Previous spelling patch from Simon Arlott broke one spot that
    didn't need fixing (reported by Simon within 35 minutes of the
    patch ... but not until after I'd applied to GIT and pushed :-(

    Signed-off-by: Tony Luck

    Tony Luck
     
  • The current implementation of kdump on INIT events would enter
    kdump processing on DIE_INIT_MONARCH_ENTER and DIE_INIT_SLAVE_ENTER
    events. Thus, the monarch cpu would go ahead and boot up the kdump

    On SN shub2 systems, this out-of-sync situation causes some slave
    cpus on different nodes to enter POD.

    This patch moves kdump entry points to DIE_INIT_MONARCH_LEAVE and
    DIE_INIT_SLAVE_LEAVE. It also sets kdump_in_progress variable in
    the DIE_INIT_MONARCH_PROCESS event to not dump all active stack
    traces to the console in the case of kdump.

    I have tested this patch on an SN machine and a HP RX2600.

    Signed-off-by: Jay Lan
    Acked-by: Zou Nan hai
    Signed-off-by: Tony Luck

    Jay Lan
     
  • Signed-off-by: Tony Luck

    Tony Luck
     

12 May, 2007

5 commits

  • Spelling and apostrophe fixes in arch/ia64/.

    Signed-off-by: Simon Arlott
    Signed-off-by: Tony Luck

    Simon Arlott
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] Quicklist support for IA64
    [IA64] fix Kprobes reentrancy
    [IA64] SN: validate smp_affinity mask on intr redirect
    [IA64] drivers/char/snsc_event.c:206: warning: unused variable `p'
    [IA64] mca.c:121: warning: 'cpe_poll_timer' defined but not used
    [IA64] Fix - Section mismatch: reference to .init.data:mvec_name
    [IA64] more warning cleanups
    [IA64] Wire up epoll_pwait and utimensat
    [IA64] Fix warnings resulting from type-checking in dev_dbg()
    [IA64] typo s/kenrel/kernel/

    Linus Torvalds
     
  • IA64 is the origin of the quicklist implementation. So cut out the pieces
    that are now in core code and modify the functions called.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton
    Signed-off-by: Tony Luck

    Christoph Lameter
     
  • In case of reentrance i.e when a probe handler calls a functions which
    inturn has a probe, we save a previous kprobe information and just single
    step the reentrant probe without calling the actual probe handler. During
    this reentracy period, if an interrupt occurs and if probe happens to
    trigger in the inturrupt path, then we were corrupting the previous kprobe(
    as we were overriding the previous kprobe info) info their by crashing the
    system. This patch fixes this issues by having a an array of previous
    kprobe info struct(with the array size of 2).

    This similar technique is not needed on i386 and x86_64 because by default
    interrupts are turn off in the break/int3 exception handler.

    Signed-off-by: Anil S Keshavamurthy
    Signed-off-by: Andrew Morton
    Signed-off-by: Tony Luck

    Anil S Keshavamurthy
     
  • On SN, only allow one bit to be set in the smp_affinty mask when
    redirecting an interrupt. Currently setting multiple bits is allowed, but
    only the first bit is used in determining the CPU to redirect to. This has
    caused confusion among some customers.

    [akpm@linux-foundation.org: fixes]
    Signed-off-by: John Keller
    Signed-off-by: Andrew Morton
    Signed-off-by: Tony Luck

    John Keller
     

11 May, 2007

8 commits


10 May, 2007

5 commits

  • Seems more than just deprecated, we can't build using SA_INTERUPT.

    Signed-off-by: Andrew Morton
    Signed-off-by: Tony Luck

    akpm@linux-foundation.org
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] wire up pselect, ppoll
    [IA64] Add TIF_RESTORE_SIGMASK
    [IA64] unwind did not work for processes born with CLONE_STOPPED
    [IA64] Optional method to purge the TLB on SN systems
    [IA64] SPIN_LOCK_UNLOCKED macro cleanup in arch/ia64
    [IA64-SN2][KJ] mmtimer.c-kzalloc
    [IA64] fix stack alignment for ia32 signal handlers
    [IA64] - Altix: hotplug after intr redirect can crash system
    [IA64] save and restore cpus_allowed in cpu_idle_wait
    [IA64] Removal of percpu TR cleanup in kexec code
    [IA64] Fix some section mismatch errors

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (25 commits)
    sound: convert "sound" subdirectory to UTF-8
    MAINTAINERS: Add cxacru website/mailing list
    include files: convert "include" subdirectory to UTF-8
    general: convert "kernel" subdirectory to UTF-8
    documentation: convert the Documentation directory to UTF-8
    Convert the toplevel files CREDITS and MAINTAINERS to UTF-8.
    remove broken URLs from net drivers' output
    Magic number prefix consistency change to Documentation/magic-number.txt
    trivial: s/i_sem /i_mutex/
    fix file specification in comments
    drivers/base/platform.c: fix small typo in doc
    misc doc and kconfig typos
    Remove obsolete fat_cvf help text
    Fix occurrences of "the the "
    Fix minor typoes in kernel/module.c
    Kconfig: Remove reference to external mqueue library
    Kconfig: A couple of grammatical fixes in arch/i386/Kconfig
    Correct comments in genrtc.c to refer to correct /proc file.
    Fix more "deprecated" spellos.
    Fix "deprecated" typoes.
    ...

    Fix trivial comment conflict in kernel/relay.c.

    Linus Torvalds
     
  • This finally renames the thread_info field in task structure to stack, so that
    the assumptions about this field are gone and archs have more freedom about
    placing the thread_info structure.

    Nonbroken archs which have a proper thread pointer can do the access to both
    current thread and task structure via a single pointer.

    It'll allow for a few more cleanups of the fork code, from which e.g. ia64
    could benefit.

    Signed-off-by: Roman Zippel
    [akpm@linux-foundation.org: build fix]
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Russell King
    Cc: Ian Molton
    Cc: Haavard Skinnemoen
    Cc: Mikael Starvik
    Cc: David Howells
    Cc: Yoshinori Sato
    Cc: "Luck, Tony"
    Cc: Hirokazu Takata
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Cc: Greg Ungerer
    Cc: Ralf Baechle
    Cc: Ralf Baechle
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Cc: Heiko Carstens
    Cc: Martin Schwidefsky
    Cc: Paul Mundt
    Cc: Kazumoto Kojima
    Cc: Richard Curnow
    Cc: William Lee Irwin III
    Cc: "David S. Miller"
    Cc: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Cc: Miles Bader
    Cc: Andi Kleen
    Cc: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roman Zippel
     
  • Since nonboot CPUs are now disabled after tasks and devices have been
    frozen and the CPU hotplug infrastructure is used for this purpose, we need
    special CPU hotplug notifications that will help the CPU-hotplug-aware
    subsystems distinguish normal CPU hotplug events from CPU hotplug events
    related to a system-wide suspend or resume operation in progress. This
    patch introduces such notifications and causes them to be used during
    suspend and resume transitions. It also changes all of the
    CPU-hotplug-aware subsystems to take these notifications into consideration
    (for now they are handled in the same way as the corresponding "normal"
    ones).

    [oleg@tv-sign.ru: cleanups]
    Signed-off-by: Rafael J. Wysocki
    Cc: Gautham R Shenoy
    Cc: Pavel Machek
    Signed-off-by: Oleg Nesterov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     

09 May, 2007

1 commit