Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: tuxonice-head
Commits on Feb 14, 2015
  1. Merge branch 'upstream-head' into tuxonice-head

    authored
    Conflicts:
    	fs/drop_caches.c
    	fs/super.c
    	include/linux/mm.h
    	mm/vmscan.c
  2. TuxOnIce incremental image debugging off by default.

    authored
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
  3. Don't reset TuxOnIce read-only flag when freeing a page.

    authored
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
  4. Mark free pages in reset_dirtiness.

    authored
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
  5. Update list of functions called in marking pages untracked.

    authored
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
  6. Add support for marking perCPUs data as untracked.

    authored
    Needs to be a function because the page tables aren't usable when
    per cpu data is set up.
    
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
  7. Clear untracked flag on freed pages.

    authored
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
  8. Add pagestate debugging sysfs entry.

    authored
    Add a quick and dirty page state debugging sysfs entry. Needs further
    work because it's not yet SMP safe and is potentially racey.
    
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
  9. Add ___GFP_TOI_NOTRACK to request untracked pages.

    authored
    (And use in slab allocation to begin with).
    
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
  10. Fix compilation errors with !TOI_INCREMENTAL

    authored
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
  11. Set ESPFIX pages to be untracked by TuxOnIce.

    authored
    Signed-off-by: Nigel Cunningham <nigel@nigelcunningham.com.au>
Commits on Feb 13, 2015
  1. Linus Torvalds

    Merge tag 'pm+acpi-3.20-rc1-2' of git://git.kernel.org/pub/scm/linux/…

    torvalds authored
    …kernel/git/rafael/linux-pm
    
    Pull more ACPI and power management updates from Rafael Wysocki:
     "These are two reverts related to system suspend breakage by one of a
      recent commits, a fix for a recently introduced bug in devfreq and a
      bunch of other things that didn't make it into my previous pull
      request, but otherwise are ready to go.
    
      Specifics:
    
       - Revert two ACPI EC driver commits, one that broke system suspend on
         Acer Aspire S5 and one that depends on it (Rafael J Wysocki).
    
       - Fix a typo leading to an incorrect check in the exynos-ppmu devfreq
         driver (Dan Carpenter).
    
       - Add support for one more Broadwell CPU model to intel_idle (Len Brown).
    
       - Fix an obscure problem with state transitions related to interrupts
         in the speedstep-smi cpufreq driver (Mikulas Patocka).
    
       - Remove some unnecessary messages related to the "out of memory"
         condition from the core PM code (Quentin Lambert).
    
       - Update turbostat parameters and documentation, add support for one
         more Broadwell CPU model to it and modify it to skip printing
         disabled package C-states (Len Brown)"
    
    * tag 'pm+acpi-3.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      PM / devfreq: event: testing the wrong variable
      cpufreq: speedstep-smi: enable interrupts when waiting
      PM / OPP / clk: Remove unnecessary OOM message
      Revert "ACPI / EC: Add query flushing support"
      Revert "ACPI / EC: Add GPE reference counting debugging messages"
      tools/power turbostat: support additional Broadwell model
      intel_idle: support additional Broadwell model
      tools/power turbostat: update parameters, documentation
      tools/power turbostat: Skip printing disabled package C-states
  2. Merge branches 'pm-cpufreq', 'pm-cpuidle', 'pm-devfreq', 'pm-opp' and…

    Rafael J. Wysocki authored
    … 'pm-tools'
    
    * pm-cpufreq:
      cpufreq: speedstep-smi: enable interrupts when waiting
    
    * pm-cpuidle:
      intel_idle: support additional Broadwell model
    
    * pm-devfreq:
      PM / devfreq: event: testing the wrong variable
    
    * pm-opp:
      PM / OPP / clk: Remove unnecessary OOM message
    
    * pm-tools:
      tools/power turbostat: support additional Broadwell model
      tools/power turbostat: update parameters, documentation
      tools/power turbostat: Skip printing disabled package C-states
  3. Merge branch 'acpi-ec'

    Rafael J. Wysocki authored
    * acpi-ec:
      Revert "ACPI / EC: Add query flushing support"
      Revert "ACPI / EC: Add GPE reference counting debugging messages"
  4. Linus Torvalds

    Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    torvalds authored
    …git/cooloney/linux-leds
    
    Pull LED subsystem update from Bryan Wu:
     "The big change of LED subsystem is introducing a new LED class for
      Flash type LEDs which will be used for V4L2 subsystem.
    
      Also we got some cleanup and fixes"
    
    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds:
      leds: leds-gpio: Pass on error codes unmodified
      DT: leds: Add led-sources property
      leds: Add LED Flash class extension to the LED subsystem
      leds: leds-mc13783: Use of_get_child_by_name() instead of refcount hack
      leds: Use setup_timer
      leds: Don't allow brightness values greater than max_brightness
      DT: leds: Add flash LED devices related properties
  5. Linus Torvalds

    Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/li…

    torvalds authored
    …nux/kernel/git/rusty/linux
    
    Pull module update from Rusty Russell:
     "Trivial cleanups, mainly"
    
    * tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
      module: Replace over-engineered nested sleep
      module: Annotate nested sleep in resolve_symbol()
      module: Remove double spaces in module verification taint message
      kernel/module.c: Free lock-classes if parse_args failed
      module: set ksymtab/kcrctab* section addresses to 0x0
  6. Linus Torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile

    torvalds authored
    Pull arch/tile changes from Chris Metcalf:
     "Not much in this batch, just some minor cleanups"
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
      tile: change MAINTAINERS website from tilera.com to ezchip.com
      tile: enable sparse checks for get/put_user
      tile: fix put_user sparse errors
      tile: default to little endian on older toolchains
  7. Linus Torvalds

    Revert "x86/apic: Only disable CPU x2apic mode when necessary"

    torvalds authored
    This reverts commit 5fcee53.
    
    It causes the suspend to fail on at least the Chromebook Pixel, possibly
    other platforms too.
    
    Joerg Roedel points out that the logic should probably have been
    
                    if (max_physical_apicid > 255 ||
                        !(IS_ENABLED(CONFIG_HYPERVISOR_GUEST) &&
                          hypervisor_x2apic_available())) {
    
    instead, but since the code is not in any fast-path, so we can just live
    without that optimization and just revert to the original code.
    
    Acked-by: Joerg Roedel <joro@8bytes.org>
    Acked-by: Jiang Liu <jiang.liu@linux.intel.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  8. tile: change MAINTAINERS website from tilera.com to ezchip.com

    Chris Metcalf authored
    Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
  9. Linus Torvalds

    Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

    torvalds authored
    Pull KVM update from Paolo Bonzini:
     "Fairly small update, but there are some interesting new features.
    
      Common:
         Optional support for adding a small amount of polling on each HLT
         instruction executed in the guest (or equivalent for other
         architectures).  This can improve latency up to 50% on some
         scenarios (e.g. O_DSYNC writes or TCP_RR netperf tests).  This
         also has to be enabled manually for now, but the plan is to
         auto-tune this in the future.
    
      ARM/ARM64:
         The highlights are support for GICv3 emulation and dirty page
         tracking
    
      s390:
         Several optimizations and bugfixes.  Also a first: a feature
         exposed by KVM (UUID and long guest name in /proc/sysinfo) before
         it is available in IBM's hypervisor! :)
    
      MIPS:
         Bugfixes.
    
      x86:
         Support for PML (page modification logging, a new feature in
         Broadwell Xeons that speeds up dirty page tracking), nested
         virtualization improvements (nested APICv---a nice optimization),
         usual round of emulation fixes.
    
         There is also a new option to reduce latency of the TSC deadline
         timer in the guest; this needs to be tuned manually.
    
         Some commits are common between this pull and Catalin's; I see you
         have already included his tree.
    
      Powerpc:
         Nothing yet.
    
         The KVM/PPC changes will come in through the PPC maintainers,
         because I haven't received them yet and I might end up being
         offline for some part of next week"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (130 commits)
      KVM: ia64: drop kvm.h from installed user headers
      KVM: x86: fix build with !CONFIG_SMP
      KVM: x86: emulate: correct page fault error code for NoWrite instructions
      KVM: Disable compat ioctl for s390
      KVM: s390: add cpu model support
      KVM: s390: use facilities and cpu_id per KVM
      KVM: s390/CPACF: Choose crypto control block format
      s390/kernel: Update /proc/sysinfo file with Extended Name and UUID
      KVM: s390: reenable LPP facility
      KVM: s390: floating irqs: fix user triggerable endless loop
      kvm: add halt_poll_ns module parameter
      kvm: remove KVM_MMIO_SIZE
      KVM: MIPS: Don't leak FPU/DSP to guest
      KVM: MIPS: Disable HTW while in guest
      KVM: nVMX: Enable nested posted interrupt processing
      KVM: nVMX: Enable nested virtual interrupt delivery
      KVM: nVMX: Enable nested apic register virtualization
      KVM: nVMX: Make nested control MSRs per-cpu
      KVM: nVMX: Enable nested virtualize x2apic mode
      KVM: nVMX: Prepare for using hardware MSR bitmap
      ...
  10. Linus Torvalds

    Merge tag 'for-f2fs-3.20' of git://git.kernel.org/pub/scm/linux/kerne…

    torvalds authored
    …l/git/jaegeuk/f2fs
    
    Pull f2fs updates from Jaegeuk Kim:
     "Major changes are to:
       - add f2fs_io_tracer and F2FS_IOC_GETVERSION
       - fix wrong acl assignment from parent
       - fix accessing wrong data blocks
       - fix wrong condition check for f2fs_sync_fs
       - align start block address for direct_io
       - add and refactor the readahead flows of FS metadata
       - refactor atomic and volatile write policies
    
      But most of patches are for clean-ups and minor bug fixes.  Some of
      them refactor old code too"
    
    * tag 'for-f2fs-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (64 commits)
      f2fs: use spinlock for segmap_lock instead of rwlock
      f2fs: fix accessing wrong indexed data blocks
      f2fs: avoid variable length array
      f2fs: fix sparse warnings
      f2fs: allocate data blocks in advance for f2fs_direct_IO
      f2fs: introduce macros to convert bytes and blocks in f2fs
      f2fs: call set_buffer_new for get_block
      f2fs: check node page contents all the time
      f2fs: avoid data offset overflow when lseeking huge file
      f2fs: fix to use highmem for pages of newly created directory
      f2fs: introduce a batched trim
      f2fs: merge {invalidate,release}page for meta/node/data pages
      f2fs: show the number of writeback pages in stat
      f2fs: keep PagePrivate during releasepage
      f2fs: should fail mount when trying to recover data on read-only dev
      f2fs: split UMOUNT and FASTBOOT flags
      f2fs: avoid write_checkpoint if f2fs is mounted readonly
      f2fs: support norecovery mount option
      f2fs: fix not to drop mount options when retrying fill_super
      f2fs: merge flags in struct f2fs_sb_info
      ...
  11. Linus Torvalds

    Merge branch 'akpm' (patches from Andrew)

    torvalds authored
    Merge third set of updates from Andrew Morton:
    
     - the rest of MM
    
       [ This includes getting rid of the numa hinting bits, in favor of
         just generic protnone logic.  Yay.     - Linus ]
    
     - core kernel
    
     - procfs
    
     - some of lib/ (lots of lib/ material this time)
    
    * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (104 commits)
      lib/lcm.c: replace include
      lib/percpu_ida.c: remove redundant includes
      lib/strncpy_from_user.c: replace module.h include
      lib/stmp_device.c: replace module.h include
      lib/sort.c: move include inside #if 0
      lib/show_mem.c: remove redundant include
      lib/radix-tree.c: change to simpler include
      lib/plist.c: remove redundant include
      lib/nlattr.c: remove redundant include
      lib/kobject_uevent.c: remove redundant include
      lib/llist.c: remove redundant include
      lib/md5.c: simplify include
      lib/list_sort.c: rearrange includes
      lib/genalloc.c: remove redundant include
      lib/idr.c: remove redundant include
      lib/halfmd4.c: simplify includes
      lib/dynamic_queue_limits.c: simplify includes
      lib/sort.c: use simpler includes
      lib/interval_tree.c: simplify includes
      hexdump: make it return number of bytes placed in buffer
      ...
  12. Villemoes Linus Torvalds

    lib/lcm.c: replace include

    Villemoes authored torvalds committed
    We don't need all the stuff kernel.h pulls in; just compiler.h since
    export.h doesn't do necessary #includes.  This removes more than 100
    dependencies.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  13. Villemoes Linus Torvalds

    lib/percpu_ida.c: remove redundant includes

    Villemoes authored torvalds committed
    These three #includes seem to be completely redundant: Removing them
    yields identical objdump -d output for each of {allyes,allno,def}config,
    and neither included file end up in the generated dependency file through
    some recursive include.  In total, about 50 lines are eliminated from
    .percpu.o.cmd.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  14. Villemoes Linus Torvalds

    lib/strncpy_from_user.c: replace module.h include

    Villemoes authored torvalds committed
    strncpy_from_user.c only needs EXPORT_SYMBOL, so just include compiler.h
    and export.h instead of the whole module.h machinery.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  15. Villemoes Linus Torvalds

    lib/stmp_device.c: replace module.h include

    Villemoes authored torvalds committed
    stmp_device.c only needs EXPORT_SYMBOL, so just include compiler.h and
    export.h instead of the whole module.h machinery.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  16. Villemoes Linus Torvalds

    lib/sort.c: move include inside #if 0

    Villemoes authored torvalds committed
    The sort function and its helpers don't do memory allocation, so the
    slab.h include is redundant.  Move it inside the #if 0 protecting the
    self-test, similar to how it is done in lib/list_sort.c.  This removes
    over 450 lines from the generated dependency file.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  17. Villemoes Linus Torvalds

    lib/show_mem.c: remove redundant include

    Villemoes authored torvalds committed
    show_mem.c doesn't use anything from nmi.h.  Removing it yields identical
    objdump -d output for each of {allyes,allno,def}config and eliminates more
    than 100 lines in the dependency file.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  18. Villemoes Linus Torvalds

    lib/radix-tree.c: change to simpler include

    Villemoes authored torvalds committed
    The comment helpfully explains why hardirq.h is included, but since
    commit 2d4b847 ("hardirq: Split preempt count mask definitions")
    in_interrupt() has been provided by preempt_mask.h.  Use that instead,
    saving around 40 lines in the generated dependency file.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  19. Villemoes Linus Torvalds

    lib/plist.c: remove redundant include

    Villemoes authored torvalds committed
    Removing the include of linux/spinlock.h produces byte-identical output
    for {allno,def}config, and identical objdump -d output for allyesconfig.
    In the former two cases, more than a 100 lines are eliminated from the
    generated dependency file.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  20. Villemoes Linus Torvalds

    lib/nlattr.c: remove redundant include

    Villemoes authored torvalds committed
    nlattr.c doesn't seem to rely on anything from netdevice.h.  Removing it
    yields identical objdump -d output for each of {allyes,allno,def}config,
    and eliminates more than 200 lines from the generated dependency file.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  21. Villemoes Linus Torvalds

    lib/kobject_uevent.c: remove redundant include

    Villemoes authored torvalds committed
    The file doesn't seem to use anything from linux/user_namespace.h, and
    removing it yields byte-identical object code and strictly fewer
    dependencies in the .cmd file.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  22. Villemoes Linus Torvalds

    lib/llist.c: remove redundant include

    Villemoes authored torvalds committed
    This file doesn't seem to use anything provided by linux/interrupt.h or
    anything recursively included through that.  Removing it produces
    byte-identical output, while reducing .llist.o.cmd from 541 to 156 lines.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  23. Villemoes Linus Torvalds

    lib/md5.c: simplify include

    Villemoes authored torvalds committed
    md5.c doesn't use anything from kernel.h, except that that pulls in
    compiler.h, which is needed for the export.h to work.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  24. Villemoes Linus Torvalds

    lib/list_sort.c: rearrange includes

    Villemoes authored torvalds committed
    Memory allocation only happens in the self test, just as random numbers
    are only used there.  So move the inclusion of slab.h inside the
    CONFIG_TEST_LIST_SORT.
    
    We don't need module.h and all of the stuff it carries with it, so replace
    with export.h and compiler.h.  Unfortunately, the ARRAY_SIZE macro from
    kernel.h requires the user to ensure bug.h is also included (for
    BUILD_BUG_ON_ZERO, used by __must_be_array).  We used to get that through
    some maze of nested includes, but just include it explicitly.
    
    linux/string.h is then only included implicitly through
    kernel.h->printk.h->dynamic_debug.h, but only if !CONFIG_DYNAMIC_DEBUG, so
    just include it explicitly (for memset).
    
    objdump -d says the generated code is the same, and wc -l says that
    lib/.list_sort.o.cmd went from 579 to 165 lines.
    
    Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Something went wrong with that request. Please try again.