1. 17 Dec, 2009 25 commits
  2. 16 Dec, 2009 15 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs · bea4c899
      Linus Torvalds authored
      * 'for-linus' of git://oss.sgi.com/xfs/xfs:
        XFS: Free buffer pages array unconditionally
        xfs: kill xfs_bmbt_rec_32/64 types
        xfs: improve metadata I/O merging in the elevator
        xfs: check for not fully initialized inodes in xfs_ireclaim
      bea4c899
    • Roland Dreier's avatar
      re-export alloc_file() · 73efc468
      Roland Dreier authored
      Commit 3d1e4631 ("get rid of init_file()") removed the export of
      alloc_file() -- possibly inadvertently, since that commit mainly
      consisted of deleting the lines between the end of alloc_file() and
      the start of the code in init_file().
      
      There is in fact one modular use of alloc_file() in the tree, in
      drivers/infiniband/core/uverbs_main.c, so re-add the export to fix:
      
          ERROR: "alloc_file" [drivers/infiniband/core/ib_uverbs.ko] undefined!
      
      when CONFIG_INFINIBAND_USER_ACCESS=m.
      
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      73efc468
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.secretlab.ca/git/linux-2.6 · a73611b6
      Linus Torvalds authored
      * 'next' of git://git.secretlab.ca/git/linux-2.6: (23 commits)
        powerpc: fix up for mmu_mapin_ram api change
        powerpc: wii: allow ioremap within the memory hole
        powerpc: allow ioremap within reserved memory regions
        wii: use both mem1 and mem2 as ram
        wii: bootwrapper: add fixup to calc useable mem2
        powerpc: gamecube/wii: early debugging using usbgecko
        powerpc: reserve fixmap entries for early debug
        powerpc: wii: default config
        powerpc: wii: platform support
        powerpc: wii: hollywood interrupt controller support
        powerpc: broadway processor support
        powerpc: wii: bootwrapper bits
        powerpc: wii: device tree
        powerpc: gamecube: default config
        powerpc: gamecube: platform support
        powerpc: gamecube/wii: flipper interrupt controller support
        powerpc: gamecube/wii: udbg support for usbgecko
        powerpc: gamecube/wii: do not include PCI support
        powerpc: gamecube/wii: declare as non-coherent platforms
        powerpc: gamecube/wii: introduce GAMECUBE_COMMON
        ...
      
      Fix up conflicts in arch/powerpc/mm/fsl_booke_mmu.c.
      
      Hopefully even close to correctly.
      a73611b6
    • Linus Torvalds's avatar
      Merge branch 'drm-vmware-staging' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · 5fa3577b
      Linus Torvalds authored
      * 'drm-vmware-staging' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        drm/vmwgfx: Add DRM driver for VMware Virtual GPU
        drm/vmwgfx: Add svga headers for vmwgfx driver
        drm/ttm: Add more driver type enums
      5fa3577b
    • Linus Torvalds's avatar
      Merge branch 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6 · d4220f98
      Linus Torvalds authored
      * 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6: (34 commits)
        HWPOISON: Remove stray phrase in a comment
        HWPOISON: Try to allocate migration page on the same node
        HWPOISON: Don't do early filtering if filter is disabled
        HWPOISON: Add a madvise() injector for soft page offlining
        HWPOISON: Add soft page offline support
        HWPOISON: Undefine short-hand macros after use to avoid namespace conflict
        HWPOISON: Use new shake_page in memory_failure
        HWPOISON: Use correct name for MADV_HWPOISON in documentation
        HWPOISON: mention HWPoison in Kconfig entry
        HWPOISON: Use get_user_page_fast in hwpoison madvise
        HWPOISON: add an interface to switch off/on all the page filters
        HWPOISON: add memory cgroup filter
        memcg: add accessor to mem_cgroup.css
        memcg: rename and export try_get_mem_cgroup_from_page()
        HWPOISON: add page flags filter
        mm: export stable page flags
        HWPOISON: limit hwpoison injector to known page types
        HWPOISON: add fs/device filters
        HWPOISON: return 0 to indicate success reliably
        HWPOISON: make semantics of IGNORED/DELAYED clear
        ...
      d4220f98
    • Andi Kleen's avatar
      [sysctl] Fix breakage on systems with older glibc · 61cf6931
      Andi Kleen authored
      As predicted during code review, the sysctl(2) changes made systems with
      old glibc nearly unusable.  About every command gives a:
      
        warning: process `ls' used the deprecated sysctl system call with 1.4
      
      warning in the log.
      
      I see this on a SUSE 10.0 system with glibc 2.3.5.
      
      Don't warn for this common case.
      Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      61cf6931
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 · 288f02bb
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (117 commits)
        ACPI processor: Fix section mismatch for processor_add()
        ACPI: Add platform-wide _OSC support.
        ACPI: cleanup pci_root _OSC code.
        ACPI: Add a generic API for _OSC -v2
        msi-wmi: depend on backlight and fix corner-cases problems
        msi-wmi: switch to using input sparse keymap library
        msi-wmi: replace one-condition switch-case with if statement
        msi-wmi: remove unused field 'instance' in key_entry structure
        msi-wmi: remove custom runtime debug implementation
        msi-wmi: rework init
        msi-wmi: remove useless includes
        X86 drivers: Introduce msi-wmi driver
        Toshiba Bluetooth Enabling driver (RFKill handler v3)
        ACPI: fix for lapic_timer_propagate_broadcast()
        acpi_pad: squish warning
        ACPI: dock: minor whitespace and style cleanups
        ACPI: dock: add struct dock_station * directly to platform device data
        ACPI: dock: dock_add - hoist up platform_device_register_simple()
        ACPI: dock: remove global 'dock_device_name'
        ACPI: dock: combine add|alloc_dock_dependent_device (v2)
        ...
      288f02bb
    • Linus Torvalds's avatar
      Merge branch 'perf-fixes-for-linus' of... · 8aedf8a6
      Linus Torvalds authored
      Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (52 commits)
        perf record: Use per-task-per-cpu events for inherited events
        perf record: Properly synchronize child creation
        perf events: Allow per-task-per-cpu counters
        perf diff: Percent calcs should use double values
        perf diff: Change the default sort order to "dso,symbol"
        perf diff: Use perf_session__fprintf_hists just like 'perf record'
        perf report: Fix cut'n'paste error recently introduced
        perf session: Move perf report specific hits out of perf_session__fprintf_hists
        perf tools: Move hist entries printing routines from perf report
        perf report: Generalize perf_session__fprintf_hists()
        perf symbols: Move symbol filtering to event__preprocess_sample()
        perf symbols: Adopt the strlists for dso, comm
        perf symbols: Make symbol_conf global
        perf probe: Fix to show which probe point is not found
        perf probe: Check symbols in symtab/kallsyms
        perf probe: Check build-id of vmlinux
        perf probe: Reject second attempt of adding same-name event
        perf probe: Support event name for --add option
        perf probe: Add glob matching support on --del
        perf probe: Use strlist__for_each macros in probe-event.c
        ...
      8aedf8a6
    • Linus Torvalds's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 · bac5e54c
      Linus Torvalds authored
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (38 commits)
        direct I/O fallback sync simplification
        ocfs: stop using do_sync_mapping_range
        cleanup blockdev_direct_IO locking
        make generic_acl slightly more generic
        sanitize xattr handler prototypes
        libfs: move EXPORT_SYMBOL for d_alloc_name
        vfs: force reval of target when following LAST_BIND symlinks (try #7)
        ima: limit imbalance msg
        Untangling ima mess, part 3: kill dead code in ima
        Untangling ima mess, part 2: deal with counters
        Untangling ima mess, part 1: alloc_file()
        O_TRUNC open shouldn't fail after file truncation
        ima: call ima_inode_free ima_inode_free
        IMA: clean up the IMA counts updating code
        ima: only insert at inode creation time
        ima: valid return code from ima_inode_alloc
        fs: move get_empty_filp() deffinition to internal.h
        Sanitize exec_permission_lite()
        Kill cached_lookup() and real_lookup()
        Kill path_lookup_open()
        ...
      
      Trivial conflicts in fs/direct-io.c
      bac5e54c
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6 · 529e8943
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
        PM: rwsem.h need not be included into main.c
        PM: Remove unnecessary goto from device_resume_noirq()
        PM: Add initcall_debug style timing for suspend/resume
        PM: allow for usage_count > 0 in pm_runtime_get()
      529e8943
    • Linus Torvalds's avatar
      Merge branch 'x86-fixes-for-linus' of... · 61ecdb84
      Linus Torvalds authored
      Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        x86: Fix kprobes build with non-gawk awk
        x86: Split swiotlb initialization into two stages
        x86: Regex support and known-movable symbols for relocs, fix _end
        x86, msr: Remove incorrect, duplicated code in the MSR driver
        x86: Merge kernel_thread()
        x86: Sync 32/64-bit kernel_thread
        x86, 32-bit: Use same regs as 64-bit for kernel_thread_helper
        x86, 64-bit: Use user_mode() to determine new stack pointer in copy_thread()
        x86, 64-bit: Move kernel_thread to C
        x86-64, paravirt: Call set_iopl_mask() on 64 bits
        x86-32: Avoid pipeline serialization in PTREGSCALL1 and 2
        x86: Merge sys_clone
        x86, 32-bit: Convert sys_vm86 & sys_vm86old
        x86: Merge sys_sigaltstack
        x86: Merge sys_execve
        x86: Merge sys_iopl
        x86-32: Add new pt_regs stubs
        cpumask: Use modern cpumask style in arch/x86/kernel/cpu/mcheck/mce-inject.c
      61ecdb84
    • Linus Torvalds's avatar
      Merge branch 'tracing-fixes-for-linus' of... · da184a80
      Linus Torvalds authored
      Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        tracing: Fix return of trace_dump_stack()
        ksym_tracer: Fix bad cast
        tracing/power: Remove two exports
        tracing: Change event->profile_count to be int type
        tracing: Simplify trace_option_write()
        tracing: Remove useless trace option
        tracing: Use seq file for trace_clock
        tracing: Use seq file for trace_options
        function-graph: Allow writing the same val to set_graph_function
        ftrace: Call trace_parser_clear() properly
        ftrace: Return EINVAL when writing invalid val to set_ftrace_filter
        tracing: Move a printk out of ftrace_raw_reg_event_foo()
        tracing: Pull up calls to trace_define_common_fields()
        tracing: Extract duplicate ftrace_raw_init_event_foo()
        ftrace.h: Use common pr_info fmt string
        tracing: Add stack trace to irqsoff tracer
        tracing: Add trace_dump_stack()
        ring-buffer: Move resize integrity check under reader lock
        ring-buffer: Use sync sched protection on ring buffer resizing
        tracing: Fix wrong usage of strstrip in trace_ksyms
      da184a80
    • Dave Chinner's avatar
      XFS: Free buffer pages array unconditionally · 3fc98b1a
      Dave Chinner authored
      The code in xfs_free_buf() only attempts to free the b_pages array if the
      buffer is a page cache backed or page allocated buffer. The extra log buffer
      that is used when the log wraps uses pages that are allocated to a different
      log buffer, but it still has a b_pages array allocated when those pages
      are associated to with the extra buffer in xfs_buf_associate_memory.
      
      Hence we need to always attempt to free the b_pages array when tearing
      down a buffer, not just on buffers that are explicitly marked as page bearing
      buffers. This fixes a leak detected by the kernel memory leak code.
      Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
      Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
      3fc98b1a
    • Christoph Hellwig's avatar
      xfs: kill xfs_bmbt_rec_32/64 types · a5f9be58
      Christoph Hellwig authored
      For a long time we've always stored bmap btree records in the 64bit format,
      so kill off the dead 32bit type, and make sure the 64bit type is named just
      xfs_bmbt_rec everywhere, without any size postfix.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarEric Sandeen <sandeen@redhat.com>
      Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
      a5f9be58
    • Dave Chinner's avatar
      xfs: improve metadata I/O merging in the elevator · 2ee1abad
      Dave Chinner authored
      Change all async metadata buffers to use [READ|WRITE]_META I/O types
      so that the I/O doesn't get issued immediately. This allows merging of
      adjacent metadata requests but still prioritises them over bulk data.
      This shows a 10-15% improvement in sequential create speed of small
      files.
      
      Don't include the log buffers in this classification - leave them as
      sync types so they are issued immediately.
      Signed-off-by: default avatarDave Chinner <dgc@sgi.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
      2ee1abad