07 Jan, 2011

7 commits

  • * 'x86-tsc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: Check tsc available/disabled in the delayed init function
    x86: Improve TSC calibration using a delayed workqueue
    x86: Make tsc=reliable override boot time stability checks

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

    * 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, earlyprintk: Move mrst early console to platform/ and fix a typo
    x86, apbt: Setup affinity for apb timers acting as per-cpu timer
    ce4100: Add errata fixes for UART on CE4100
    x86: platform: Move iris to x86/platform where it belongs
    x86, mrst: Check platform_device_register() return code
    x86/platform: Add Eurobraille/Iris power off support
    x86, mrst: Add explanation for using 1960 as the year offset for vrtc
    x86, mrst: Fix dependencies of "select INTEL_SCU_IPC"
    x86, mrst: The shutdown for MRST requires the SCU IPC mechanism
    x86: Ce4100: Add reboot_fixup() for CE4100
    ce4100: Add PCI register emulation for CE4100
    x86: Add CE4100 platform support
    x86: mrst: Set vRTC's IRQ to level trigger type
    x86: mrst: Add audio driver bindings
    rtc: Add drivers/rtc/rtc-mrst.c
    x86: mrst: Add vrtc driver which serves as a wall clock device
    x86: mrst: Add Moorestown specific reboot/shutdown support
    x86: mrst: Parse SFI timer table for all timer configs
    x86/mrst: Add SFI platform device parsing code

    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: (30 commits)
    sched: Change wait_for_completion_*_timeout() to return a signed long
    sched, autogroup: Fix reference leak
    sched, autogroup: Fix potential access to freed memory
    sched: Remove redundant CONFIG_CGROUP_SCHED ifdef
    sched: Fix interactivity bug by charging unaccounted run-time on entity re-weight
    sched: Move periodic share updates to entity_tick()
    printk: Use this_cpu_{read|write} api on printk_pending
    sched: Make pushable_tasks CONFIG_SMP dependant
    sched: Add 'autogroup' scheduling feature: automated per session task groups
    sched: Fix unregister_fair_sched_group()
    sched: Remove unused argument dest_cpu to migrate_task()
    mutexes, sched: Introduce arch_mutex_cpu_relax()
    sched: Add some clock info to sched_debug
    cpu: Remove incorrect BUG_ON
    cpu: Remove unused variable
    sched: Fix UP build breakage
    sched: Make task dump print all 15 chars of proc comm
    sched: Update tg->shares after cpu.shares write
    sched: Allow update_cfs_load() to update global load
    sched: Implement demand based update_cfs_load()
    ...

    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: (146 commits)
    tools, perf: Documentation for the power events API
    perf: Add calls to suspend trace point
    perf script: Make some lists static
    perf script: Use the default lost event handler
    perf session: Warn about errors when processing pipe events too
    perf tools: Fix perf_event.h header usage
    perf test: Clarify some error reports in the open syscall test
    x86, NMI: Add touch_nmi_watchdog to io_check_error delay
    x86: Avoid calling arch_trigger_all_cpu_backtrace() at the same time
    x86: Only call smp_processor_id in non-preempt cases
    perf timechart: Adjust perf timechart to the new power events
    perf: Clean up power events by introducing new, more generic ones
    perf: Do not export power_frequency, but power_start event
    perf test: Add test for counting open syscalls
    perf evsel: Auto allocate resources needed for some methods
    perf evsel: Use {cpu,thread}_map to shorten list of parameters
    perf tools: Refactor all_tids to hold nr and the map
    perf tools: Refactor cpumap to hold nr and the map
    perf evsel: Introduce per cpu and per thread open helpers
    perf evsel: Steal the counter reading routines from stat
    ...

    Linus Torvalds
     
  • * 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    rcu: remove unused __list_for_each_rcu() macro
    rculist: fix borked __list_for_each_rcu() macro
    rcu: reduce __call_rcu()-induced contention on rcu_node structures
    rcu: limit rcu_node leaf-level fanout
    rcu: fine-tune grace-period begin/end checks
    rcu: Keep gpnum and completed fields synchronized
    rcu: Stop chasing QS if another CPU did it for us
    rcu: increase synchronize_sched_expedited() batching
    rcu: Make synchronize_srcu_expedited() fast if running readers
    rcu: fix race condition in synchronize_sched_expedited()
    rcu: update documentation/comments for Lai's adoption patch
    rcu,cleanup: simplify the code when cpu is dying
    rcu,cleanup: move synchronize_sched_expedited() out of sched.c
    rcu: get rid of obsolete "classic" names in TREE_RCU tracing
    rcu: Distinguish between boosting and boosted
    rcu: document TINY_RCU and TINY_PREEMPT_RCU tracing.
    rcu: add tracing for TINY_RCU and TINY_PREEMPT_RCU
    rcu: priority boosting for TINY_PREEMPT_RCU
    rcu: move TINY_RCU from softirq to kthread
    rcu: add priority-inversion testing to rcutorture

    Linus Torvalds
     
  • Fixed typos, and removed duplicated entries.

    Signed-off-by: Nicolas Kaiser
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Nicolas Kaiser
     
  • Mainly resulting from (but not limited to) autogenerated files of
    lib/raid6 and drivers/gpu/drm/radeon. List generated as result of
    a diff of a clean 2.6.36 tree against a built one.

    Signed-off-by: Michael Prokop
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Michael Prokop
     

06 Jan, 2011

1 commit

  • Provides documentation for the following:
    - the new power trace API,
    - the old (legacy) power trace API,
    - the DEPRECATED Kconfig option usage.

    Signed-off-by: Jean Pihet
    Cc: Arjan van de Ven
    Cc: trenn@suse.de
    Cc: Len Brown
    Cc: Pavel Machek
    Cc: Rafael J. Wysocki
    Cc: Steven Rostedt
    Cc: Arnaldo Carvalho de Melo
    Cc: linux-pm@lists.linux-foundation.org
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Jean Pihet
     

05 Jan, 2011

3 commits


04 Jan, 2011

1 commit


03 Jan, 2011

1 commit

  • The error message 'NMI watchdog failed to create perf event...'
    does not make it clear that this is a fatal error for the
    watchdog. It also currently prints the error value as a
    pointer, rather than extracting the error code with PTR_ERR().
    Fix that.

    Add a note to the description of the 'nowatchdog' kernel
    parameter to associate it with this message.

    Reported-by: Cesare Leonardi
    Signed-off-by: Ben Hutchings
    Cc: 599368@bugs.debian.org
    Cc: 608138@bugs.debian.org
    Cc: Don Zickus
    Cc: Frederic Weisbecker
    Cc: # .37.x and later
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Ben Hutchings
     

31 Dec, 2010

1 commit


25 Dec, 2010

1 commit


23 Dec, 2010

3 commits

  • …/linux-2.6-rcu into core/rcu

    Ingo Molnar
     
  • The taskstats structure is internally aligned on 8 byte boundaries but the
    layout of the aggregrate reply, with two NLA headers and the pid (each 4
    bytes), actually force the entire structure to be unaligned. This causes
    the kernel to issue unaligned access warnings on some architectures like
    ia64. Unfortunately, some software out there doesn't properly unroll the
    NLA packet and assumes that the start of the taskstats structure will
    always be 20 bytes from the start of the netlink payload. Aligning the
    start of the taskstats structure breaks this software, which we don't
    want. So, for now the alignment only happens on architectures that
    require it and those users will have to update to fixed versions of those
    packages. Space is reserved in the packet only when needed. This ifdef
    should be removed in several years e.g. 2012 once we can be confident
    that fixed versions are installed on most systems. We add the padding
    before the aggregate since the aggregate is already a defined type.

    Commit 85893120 ("delayacct: align to 8 byte boundary on 64-bit systems")
    previously addressed the alignment issues by padding out the pid field.
    This was supposed to be a compatible change but the circumstances
    described above mean that it wasn't. This patch backs out that change,
    since it was a hack, and introduces a new NULL attribute type to provide
    the padding. Padding the response with 4 bytes avoids allocating an
    aligned taskstats structure and copying it back. Since the structure
    weighs in at 328 bytes, it's too big to do it on the stack.

    Signed-off-by: Jeff Mahoney
    Reported-by: Brian Rogers
    Cc: Jeff Mahoney
    Cc: Guillaume Chazarain
    Cc: Balbir Singh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Mahoney
     
  • When correlating ftrace results with /proc/vmstat, I noticed that the
    reporting scripts value for "pages scanned" differed significantly. Both
    values were "right" depending on how you look at it.

    The difference is due to vmstat only counting scanning of the inactive
    list towards pages scanned. The analysis script for the tracepoint counts
    active and inactive list yielding a far higher value than vmstat. The
    resulting scanning/reclaim ratio looks much worse. The tracepoint is ok
    but this patch updates the reporting script so that the report values for
    scanned are similar to vmstat.

    Signed-off-by: Mel Gorman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mel Gorman
     

22 Dec, 2010

1 commit


21 Dec, 2010

1 commit


19 Dec, 2010

2 commits

  • Merge reason: Update to the latest -rc.

    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    x86: avoid high BIOS area when allocating address space
    x86: avoid E820 regions when allocating address space
    x86: avoid low BIOS area when allocating address space
    resources: add arch hook for preventing allocation in reserved areas
    Revert "resources: support allocating space within a region from the top down"
    Revert "PCI: allocate bus resources from the top down"
    Revert "x86/PCI: allocate space from the end of a region, not the beginning"
    Revert "x86: allocate space within a region top-down"
    Revert "PCI: fix pci_bus_alloc_resource() hang, prefer positive decode"
    PCI: Update MCP55 quirk to not affect non HyperTransport variants

    Linus Torvalds
     

18 Dec, 2010

1 commit


17 Dec, 2010

1 commit

  • There are some situations (e.g. in __pm_generic_call()), where
    pm_runtime_suspended() is used to decide whether or not to execute
    a device's (system) ->suspend() callback. The callback is not
    executed if pm_runtime_suspended() returns true, but it does so
    for devices that don't even support runtime PM, because the
    power.disable_depth device field is ignored by it. This leads to
    problems (i.e. devices are not suspened when they should), so rework
    pm_runtime_suspended() so that it returns false if the device's
    power.disable_depth field is different from zero.

    Signed-off-by: Rafael J. Wysocki
    Cc: stable@kernel.org

    Rafael J. Wysocki
     

16 Dec, 2010

1 commit


15 Dec, 2010

1 commit

  • * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
    NFS: Fix panic after nfs_umount()
    nfs: remove extraneous and problematic calls to nfs_clear_request
    nfs: kernel should return EPROTONOSUPPORT when not support NFSv4
    NFS: Fix fcntl F_GETLK not reporting some conflicts
    nfs: Discard ACL cache on mode update
    NFS: Readdir cleanups
    NFS: nfs_readdir_search_for_cookie() don't mark as eof if cookie not found
    NFS: Fix a memory leak in nfs_readdir
    Call the filesystem back whenever a page is removed from the page cache
    NFS: Ensure we use the correct cookie in nfs_readdir_xdr_filler

    Linus Torvalds
     

10 Dec, 2010

1 commit

  • Originally adapted from Huang Ying's patch which moved the
    unknown_nmi_panic to the traps.c file. Because the old nmi
    watchdog was deleted before this change happened, the
    unknown_nmi_panic sysctl was lost. This re-adds it.

    Also, the nmi_watchdog sysctl was re-implemented and its
    documentation updated accordingly.

    Patch-inspired-by: Huang Ying
    Signed-off-by: Don Zickus
    Reviewed-by: Cyrill Gorcunov
    Acked-by: Yinghai Lu
    Cc: fweisbec@gmail.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Don Zickus
     

09 Dec, 2010

1 commit


08 Dec, 2010

1 commit

  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86:
    wmi: use memcmp instead of strncmp to compare GUIDs
    ACPI, hp-wmi: Fix memory leak in acpi query
    msi-wmi: fix semantically incorrect use of keycode instead of scancode
    msi-wmi: Add mute key support
    asus-laptop: add wimax and wwan support
    eeepc-wmi: fix compiler warning
    ibm_rtl: _RTL_ is not available in UEFI mode
    ibm_rtl: Loosen the DMI criteria to all IBM machines
    drivers/platform/x86/thinkpad_acpi.c: delete double assignment
    eeepc-wmi: add cpufv sysfs documentation
    toshiba_acpi.c: Add key_entry for a lone FN keypress
    ibm_rtl: fix printk format warning

    Linus Torvalds
     

03 Dec, 2010

4 commits


02 Dec, 2010

2 commits

  • NFS needs to be able to release objects that are stored in the page
    cache once the page itself is no longer visible from the page cache.

    This patch adds a callback to the address space operations that allows
    filesystems to perform page cleanups once the page has been removed
    from the page cache.

    Original patch by: Linus Torvalds
    [trondmy: cover the cases of invalidate_inode_pages2() and
    truncate_inode_pages()]
    Signed-off-by: Trond Myklebust

    Linus Torvalds
     
  • The new interface creates directories per mapped image
    and under each it creates a subdir per available snapshot.
    This allows keeping a cleaner interface within the sysfs
    guidelines. The ABI documentation was updated too.

    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Yehuda Sadeh
    Signed-off-by: Sage Weil

    Yehuda Sadeh
     

30 Nov, 2010

5 commits

  • A recurring complaint from CFS users is that parallel kbuild has
    a negative impact on desktop interactivity. This patch
    implements an idea from Linus, to automatically create task
    groups. Currently, only per session autogroups are implemented,
    but the patch leaves the way open for enhancement.

    Implementation: each task's signal struct contains an inherited
    pointer to a refcounted autogroup struct containing a task group
    pointer, the default for all tasks pointing to the
    init_task_group. When a task calls setsid(), a new task group
    is created, the process is moved into the new task group, and a
    reference to the preveious task group is dropped. Child
    processes inherit this task group thereafter, and increase it's
    refcount. When the last thread of a process exits, the
    process's reference is dropped, such that when the last process
    referencing an autogroup exits, the autogroup is destroyed.

    At runqueue selection time, IFF a task has no cgroup assignment,
    its current autogroup is used.

    Autogroup bandwidth is controllable via setting it's nice level
    through the proc filesystem:

    cat /proc//autogroup

    Displays the task's group and the group's nice level.

    echo > /proc//autogroup

    Sets the task group's shares to the weight of nice task.
    Setting nice level is rate limited for !admin users due to the
    abuse risk of task group locking.

    The feature is enabled from boot by default if
    CONFIG_SCHED_AUTOGROUP=y is selected, but can be disabled via
    the boot option noautogroup, and can also be turned on/off on
    the fly via:

    echo [01] > /proc/sys/kernel/sched_autogroup_enabled

    ... which will automatically move tasks to/from the root task group.

    Signed-off-by: Mike Galbraith
    Acked-by: Linus Torvalds
    Acked-by: Peter Zijlstra
    Cc: Markus Trippelsdorf
    Cc: Mathieu Desnoyers
    Cc: Paul Turner
    Cc: Oleg Nesterov
    [ Removed the task_group_path() debug code, and fixed !EVENTFD build failure. ]
    Signed-off-by: Ingo Molnar
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Mike Galbraith
     
  • Lai's RCU-callback immediate-adoption patch changes the RCU tracing
    output, so update tracing.txt. Also update a few comments to clarify
    the synchronization design.

    Signed-off-by: Paul E. McKenney

    Paul E. McKenney
     
  • Add the required verbiage to Documentation/RCU/trace.txt.

    Signed-off-by: Paul E. McKenney
    Signed-off-by: Paul E. McKenney

    Paul E. McKenney
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (27 commits)
    af_unix: limit recursion level
    pch_gbe driver: The wrong of initializer entry
    pch_gbe dreiver: chang author
    ucc_geth: fix ucc halt problem in half duplex mode
    inet: Fix __inet_inherit_port() to correctly increment bsockets and num_owners
    ehea: Add some info messages and fix an issue
    hso: fix disable_net
    NET: wan/x25_asy, move lapb_unregister to x25_asy_close_tty
    cxgb4vf: fix setting unicast/multicast addresses ...
    net, ppp: Report correct error code if unit allocation failed
    DECnet: don't leak uninitialized stack byte
    au1000_eth: fix invalid address accessing the MAC enable register
    dccp: fix error in updating the GAR
    tcp: restrict net.ipv4.tcp_adv_win_scale (#20312)
    netns: Don't leak others' openreq-s in proc
    Net: ceph: Makefile: Remove unnessary code
    vhost/net: fix rcu check usage
    econet: fix CVE-2010-3848
    econet: fix CVE-2010-3850
    econet: disallow NULL remote addr for sendmsg(), fixes CVE-2010-3849
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
    EDAC: Fix typos in Documentation/edac.txt
    EDAC, MCE: Fix edac_init_mce_inject error handling
    EDAC: Remove deprecated kbuild goal definitions

    Linus Torvalds