20 May, 2010

5 commits

  • Commit a45185d2d "cpumask: convert kernel/compat.c" broke libnuma, which
    abuses sched_getaffinity to find out NR_CPUS in order to parse
    /sys/devices/system/node/node*/cpumap.

    On NUMA systems with less than 32 possibly CPUs, the current
    compat_sys_sched_getaffinity now returns '4' instead of the actual
    NR_CPUS/8, which makes libnuma bail out when parsing the cpumap.

    The libnuma call sched_getaffinity(0, bitmap, 4096) at first. It mean
    the libnuma expect the return value of sched_getaffinity() is either len
    argument or NR_CPUS. But it doesn't expect to return nr_cpu_ids.

    Strictly speaking, userland requirement are

    1) Glibc assume the return value mean the lengh of initialized
    of mask argument. E.g. if sched_getaffinity(1024) return 128,
    glibc make zero fill rest 896 byte.
    2) Libnuma assume the return value can be used to guess NR_CPUS
    in kernel. It assume len-arg
    Acked-by: Rusty Russell
    Acked-by: Arnd Bergmann
    Reported-by: Ken Werner
    Cc: stable@kernel.org
    Cc: Andi Kleen
    Signed-off-by: Linus Torvalds

    KOSAKI Motohiro
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] Drop duplicated "config IOMMU_HELPER"
    [IA64] invoke oom-killer from page fault
    [IA64] use __ratelimit
    [IA64] Use set_cpus_allowed_ptr
    [IA64] Use set_cpus_allowed_ptr
    [IA64] arch/ia64/hp/common/sba_iommu.c: Rename dev_info to adi
    [IA64] removing redundant ifdef

    Linus Torvalds
     
  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (224 commits)
    ARM: remove 'select GENERIC_TIME'
    ARM: 6136/1: ARCH_REQUIRE_GPIOLIB selects GENERIC_GPIO
    ARM: 6074/1: oprofile: convert from sysdev to platform device
    ARM: 6073/1: oprofile: remove old files and update KConfig
    ARM: 6072/1: oprofile: use perf-events framework as backend
    ARM: 6071/1: perf-events: allow modules to query the number of hardware counters
    ARM: 6070/1: perf-events: add support for xscale PMUs
    ARM: 6069/1: perf-events: use numeric ID to identify PMU
    ARM: 6064/1: pmu: register IRQs at runtime
    ARM: Optionally allow ARMv6 to use 'normal, bufferable' memory for DMA
    ARM: 6134/1: Handle instruction cache maintenance fault properly
    ARM: nwfpe: allow debugging output to be configured at runtime
    ARM: rename mach_cpu_disable() to platform_cpu_disable()
    ARM: 6132/1: PL330: Add common core driver
    ARM: 6094/1: Extend cache-l2x0 to support the 16-way PL310
    ARM: Move memory mapping into mmu.c
    ARM: Ensure meminfo is sorted prior to sanity_check_meminfo
    ARM: Remove useless linux/bootmem.h includes
    ARM: convert /proc/cpu/aligment to seq_file
    arm: use asm-generic/scatterlist.h
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (127 commits)
    sh: update defconfigs.
    sh: Fix up the NUMA build for recent LMB changes.
    sh64: provide a stub per_cpu_trap_init() definition.
    sh: fix up CONFIG_KEXEC=n build.
    sh: fixup the docbook paths for clock framework shuffling.
    driver core: Early dev_name() depends on slab_is_available().
    sh: simplify WARN usage in SH clock driver
    sh: Check return value of clk_get on ms7724
    sh: Check return value of clk_get on ecovec24
    sh: move sh clock-cpg.c contents to drivers/sh/clk-cpg.c
    sh: move sh clock.c contents to drivers/sh/clk.
    sh: move sh asm/clock.h contents to linux/sh_clk.h V2
    sh: remove unused clock lookup
    sh: switch boards to clkdev
    sh: switch sh4-202 to clkdev
    sh: switch shx3 to clkdev
    sh: switch sh7757 to clkdev
    sh: switch sh7763 to clkdev
    sh: switch sh7780 to clkdev
    sh: switch sh7786 to clkdev
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: (24 commits)
    [S390] drivers/s390/char: Use kmemdup
    [S390] drivers/s390/char: Use kstrdup
    [S390] debug: enable exception-trace debug facility
    [S390] s390_hypfs: Add new attributes
    [S390] qdio: remove API wrappers
    [S390] qdio: set correct bit in dsci
    [S390] qdio: dont convert timestamps to microseconds
    [S390] qdio: remove memset hack
    [S390] qdio: prevent starvation on PCI devices
    [S390] qdio: count number of qdio interrupts
    [S390] user space fault: report fault before calling do_exit
    [S390] topology: expose core identifier
    [S390] dasd: remove uid from devmap
    [S390] dasd: add dynamic pav toleration
    [S390] vdso: add missing vdso_install target
    [S390] vdso: remove redundant check for CONFIG_64BIT
    [S390] avoid default_llseek in s390 drivers
    [S390] vmcp: disallow modular build
    [S390] add breaking event address for user space
    [S390] virtualization aware cpu measurement
    ...

    Linus Torvalds
     

19 May, 2010

15 commits


18 May, 2010

20 commits

  • * 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, fpu: Use static_cpu_has() to implement use_xsave()
    x86: Add new static_cpu_has() function using alternatives
    x86, fpu: Use the proper asm constraint in use_xsave()
    x86, fpu: Unbreak FPU emulation
    x86: Introduce 'struct fpu' and related API
    x86: Eliminate TS_XSAVE
    x86-32: Don't set ignore_fpu_irq in simd exception
    x86: Merge kernel_math_error() into math_error()
    x86: Merge simd_math_error() into math_error()
    x86-32: Rework cache flush denied handler

    Fix trivial conflict in arch/x86/kernel/process.c

    Linus Torvalds
     
  • * 'x86-doc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, docbook: Fix errors from x86 headers merger

    Linus Torvalds
     
  • * 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, hypervisor: add missing
    Modify the VMware balloon driver for the new x86_hyper API
    x86, hypervisor: Export the x86_hyper* symbols
    x86: Clean up the hypervisor layer
    x86, HyperV: fix up the license to mshyperv.c
    x86: Detect running on a Microsoft HyperV system
    x86, cpu: Make APERF/MPERF a normal table-driven flag
    x86, k8: Fix build error when K8_NB is disabled
    x86, cacheinfo: Disable index in all four subcaches
    x86, cacheinfo: Make L3 cache info per node
    x86, cacheinfo: Reorganize AMD L3 cache structure
    x86, cacheinfo: Turn off L3 cache index disable feature in virtualized environments
    x86, cacheinfo: Unify AMD L3 cache index disable checking
    cpufreq: Unify sysfs attribute definition macros
    powernow-k8: Fix frequency reporting
    x86, cpufreq: Add APERF/MPERF support for AMD processors
    x86: Unify APERF/MPERF support
    powernow-k8: Add core performance boost support
    x86, cpu: Add AMD core boosting feature flag to /proc/cpuinfo

    Fix up trivial conflicts in arch/x86/kernel/cpu/intel_cacheinfo.c and
    drivers/cpufreq/cpufreq_ondemand.c

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: Clean up arch/x86/Kconfig*
    x86-64: Don't export init_level4_pgt

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'x86-atomic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: Fix LOCK_PREFIX_HERE for uniprocessor build
    x86, atomic64: In selftest, distinguish x86-64 from 586+
    x86-32: Fix atomic64_inc_not_zero return value convention
    lib: Fix atomic64_inc_not_zero test
    lib: Fix atomic64_add_unless return value convention
    x86-32: Fix atomic64_add_unless return value convention
    lib: Fix atomic64_add_unless test
    x86: Implement atomic[64]_dec_if_positive()
    lib: Only test atomic64_dec_if_positive on archs having it
    x86-32: Rewrite 32-bit atomic64 functions in assembly
    lib: Add self-test for atomic64_t
    x86-32: Allow UP/SMP lock replacement in cmpxchg64
    x86: Add support for lock prefix in alternatives

    Linus Torvalds
     
  • * 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: Use .cfi_sections for assembly code
    x86-64: Reduce SMP locks table size
    x86, asm: Introduce and use percpu_inc()

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    tracing: Fix "integer as NULL pointer" warning.
    tracing: Fix tracepoint.h DECLARE_TRACE() to allow more than one header
    tracing: Make the documentation clear on trace_event boot option
    ring-buffer: Wrap open-coded WARN_ONCE
    tracing: Convert nop macros to static inlines
    tracing: Fix sleep time function profiling
    tracing: Show sample std dev in function profiling
    tracing: Add documentation for trace commands mod, traceon/traceoff
    ring-buffer: Make benchmark handle missed events
    ring-buffer: Make non-consuming read less expensive with lots of cpus.
    tracing: Add graph output support for irqsoff tracer
    tracing: Have graph flags passed in to ouput functions
    tracing: Add ftrace events for graph tracer
    tracing: Dump either the oops's cpu source or all cpus buffers
    tracing: Fix uninitialized variable of tracing/trace output

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (49 commits)
    stop_machine: Move local variable closer to the usage site in cpu_stop_cpu_callback()
    sched, wait: Use wrapper functions
    sched: Remove a stale comment
    ondemand: Make the iowait-is-busy time a sysfs tunable
    ondemand: Solve a big performance issue by counting IOWAIT time as busy
    sched: Intoduce get_cpu_iowait_time_us()
    sched: Eliminate the ts->idle_lastupdate field
    sched: Fold updating of the last_update_time_info into update_ts_time_stats()
    sched: Update the idle statistics in get_cpu_idle_time_us()
    sched: Introduce a function to update the idle statistics
    sched: Add a comment to get_cpu_idle_time_us()
    cpu_stop: add dummy implementation for UP
    sched: Remove rq argument to the tracepoints
    rcu: need barrier() in UP synchronize_sched_expedited()
    sched: correctly place paranioa memory barriers in synchronize_sched_expedited()
    sched: kill paranoia check in synchronize_sched_expedited()
    sched: replace migration_thread with cpu_stop
    stop_machine: reimplement using cpu_stop
    cpu_stop: implement stop_cpu[s]()
    sched: Fix select_idle_sibling() logic in select_task_rq_fair()
    ...

    Linus Torvalds
     
  • …git/tip/linux-2.6-tip

    * 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (311 commits)
    perf tools: Add mode to build without newt support
    perf symbols: symbol inconsistency message should be done only at verbose=1
    perf tui: Add explicit -lslang option
    perf options: Type check all the remaining OPT_ variants
    perf options: Type check OPT_BOOLEAN and fix the offenders
    perf options: Check v type in OPT_U?INTEGER
    perf options: Introduce OPT_UINTEGER
    perf tui: Add workaround for slang < 2.1.4
    perf record: Fix bug mismatch with -c option definition
    perf options: Introduce OPT_U64
    perf tui: Add help window to show key associations
    perf tui: Make <- exit menus too
    perf newt: Add single key shortcuts for zoom into DSO and threads
    perf newt: Exit browser unconditionally when CTRL+C, q or Q is pressed
    perf newt: Fix the 'A'/'a' shortcut for annotate
    perf newt: Make <- exit the ui_browser
    x86, perf: P4 PMU - fix counters management logic
    perf newt: Make <- zoom out filters
    perf report: Report number of events, not samples
    perf hist: Clarify events_stats fields usage
    ...

    Fix up trivial conflicts in kernel/fork.c and tools/perf/builtin-record.c

    Linus Torvalds
     
  • * 'oprofile-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (24 commits)
    oprofile/x86: make AMD IBS hotplug capable
    oprofile/x86: notify cpus only when daemon is running
    oprofile/x86: reordering some functions
    oprofile/x86: stop disabled counters in nmi handler
    oprofile/x86: protect cpu hotplug sections
    oprofile/x86: remove CONFIG_SMP macros
    oprofile/x86: fix uninitialized counter usage during cpu hotplug
    oprofile/x86: remove duplicate IBS capability check
    oprofile/x86: move IBS code
    oprofile/x86: return -EBUSY if counters are already reserved
    oprofile/x86: moving shutdown functions
    oprofile/x86: reserve counter msrs pairwise
    oprofile/x86: rework error handler in nmi_setup()
    oprofile: update file list in MAINTAINERS file
    oprofile: protect from not being in an IRQ context
    oprofile: remove double ring buffering
    ring-buffer: Add lost event count to end of sub buffer
    tracing: Show the lost events in the trace_pipe output
    ring-buffer: Add place holder recording of dropped events
    tracing: Fix compile error in module tracepoints when MODULE_UNLOAD not set
    ...

    Linus Torvalds
     
  • * 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (24 commits)
    rcu: remove all rcu head initializations, except on_stack initializations
    rcu head introduce rcu head init on stack
    Debugobjects transition check
    rcu: fix build bug in RCU_FAST_NO_HZ builds
    rcu: RCU_FAST_NO_HZ must check RCU dyntick state
    rcu: make SRCU usable in modules
    rcu: improve the RCU CPU-stall warning documentation
    rcu: reduce the number of spurious RCU_SOFTIRQ invocations
    rcu: permit discontiguous cpu_possible_mask CPU numbering
    rcu: improve RCU CPU stall-warning messages
    rcu: print boot-time console messages if RCU configs out of ordinary
    rcu: disable CPU stall warnings upon panic
    rcu: enable CPU_STALL_VERBOSE by default
    rcu: slim down rcutiny by removing rcu_scheduler_active and friends
    rcu: refactor RCU's context-switch handling
    rcu: rename rcutiny rcu_ctrlblk to rcu_sched_ctrlblk
    rcu: shrink rcutiny by making synchronize_rcu_bh() be inline
    rcu: fix now-bogus rcu_scheduler_active comments.
    rcu: Fix bogus CONFIG_PROVE_LOCKING in comments to reflect reality.
    rcu: ignore offline CPUs in last non-dyntick-idle CPU check
    ...

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    lockdep: Reduce stack_trace usage
    lockdep: No need to disable preemption in debug atomic ops
    lockdep: Actually _dec_ in debug_atomic_dec
    lockdep: Provide off case for redundant_hardirqs_on increment
    lockdep: Simplify debug atomic ops
    lockdep: Fix redundant_hardirqs_on incremented with irqs enabled
    lockstat: Make lockstat counting per cpu
    i8253: Convert i8253_lock to raw_spinlock

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'core-iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86/amd-iommu: Add amd_iommu=off command line option
    iommu-api: Remove iommu_{un}map_range functions
    x86/amd-iommu: Implement ->{un}map callbacks for iommu-api
    x86/amd-iommu: Make amd_iommu_iova_to_phys aware of multiple page sizes
    x86/amd-iommu: Make iommu_unmap_page and fetch_pte aware of page sizes
    x86/amd-iommu: Make iommu_map_page and alloc_pte aware of page sizes
    kvm: Change kvm_iommu_map_pages to map large pages
    VT-d: Change {un}map_range functions to implement {un}map interface
    iommu-api: Add ->{un}map callbacks to iommu_ops
    iommu-api: Add iommu_map and iommu_unmap functions
    iommu-api: Rename ->{un}map function pointers to ->{un}map_range

    Linus Torvalds
     
  • …/kernel/git/tip/linux-2.6-tip

    * 'core-debugobjects-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    debugobjects: Section mismatch cleanup

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (23 commits)
    cifs: fix noserverino handling when unix extensions are enabled
    cifs: don't update uniqueid in cifs_fattr_to_inode
    cifs: always revalidate hardlinked inodes when using noserverino
    [CIFS] drop quota operation stubs
    cifs: propagate cifs_new_fileinfo() error back to the caller
    cifs: add comments explaining cifs_new_fileinfo behavior
    cifs: remove unused parameter from cifs_posix_open_inode_helper()
    [CIFS] Remove unused cifs_oplock_cachep
    cifs: have decode_negTokenInit set flags in server struct
    cifs: break negotiate protocol calls out of cifs_setup_session
    cifs: eliminate "first_time" parm to CIFS_SessSetup
    [CIFS] Fix lease break for writes
    cifs: save the dialect chosen by server
    cifs: change && to ||
    cifs: rename "extended_security" to "global_secflags"
    cifs: move tcon find/create into separate function
    cifs: move SMB session creation code into separate function
    cifs: track local_nls in volume info
    [CIFS] Allow null nd (as nfs server uses) on create
    [CIFS] Fix losing locks during fork()
    ...

    Linus Torvalds
     
  • Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Now that the node 0 initialization code has been overhauled, kill off the
    now obsolete setup_memory() bits.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • GENERIC_TIME is now enabled by default, so 'select GENERIC_TIME'
    is redundant. Remove them.

    Signed-off-by: Russell King

    Russell King
     
  • This is needed to fix up the build at the moment. Gradually this will be
    reworked to follow the 32-bit initialization path and deal with delayed
    VBR initialization.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • The reserve_crashkernel() definition is in asm/kexec.h which is only
    dragged in via linux/kexec.h if CONFIG_KEXEC is set. Just switch over to
    asm/kexec.h unconditionally to fix up the build.

    Signed-off-by: Paul Mundt

    Paul Mundt