2014-08-29-15-15 merged
Akinobu Mita (1):
mm: use memblock_alloc_range()
Andrew Morton (11):
mm-slab_common-move-kmem_cache-definition-to-internal-header-fix
include/linux/migrate.h: remove migrate_page #define
mm-introduce-common-page-state-for-ballooned-memory-fix
mm-balloon_compaction-general-cleanup-fix
mm-balloon_compaction-general-cleanup-checkpatch-fixes
introduce-dump_vma-fix
convert-a-few-vm_bug_on-callers-to-vm_bug_on_vma-checkpatch-fixes
x86-optimize-resource-lookups-for-ioremap-fix
fs-proc-task_mmuc-shift-mm_access-from-m_start-to-proc_maps_open-checkpatch-fixes
fs-proc-task_mmuc-simplify-the-vma_stop-logic-checkpatch-fixes
fs-proc-task_nommuc-shift-mm_access-from-m_start-to-proc_maps_open-checkpatch-fixes
Christoph Lameter (1):
slub: disable tracing and failslab for merged slabs
Cyrill Gorcunov (3):
prctl: PR_SET_MM -- Introduce PR_SET_MM_MAP operation, v4
headers: prctl.h -- Add missing linux/types.h
prctl: return -EFAULT on auxv fetching failure
Johannes Weiner (1):
mm: remove noisy remainder of the scan_unevictable interface
Joonsoo Kim (5):
mm/slab_common: move kmem_cache definition to internal header
mm/sl[ao]b: always track caller in kmalloc_(node_)track_caller()
mm/slab: move cache_flusharray() out of unlikely.text section
mm/slab: noinline __ac_put_obj()
mm/slab: factor out unlikely part of cache_free_alien()
Konstantin Khlebnikov (7):
mm/balloon_compaction: ignore anonymous pages
mm/balloon_compaction: keep ballooned pages away from normal migration path
mm/balloon_compaction: isolate balloon pages without lru_lock
selftests/vm/transhuge-stress: stress test for memory compaction
mm: introduce common page state for ballooned memory
mm/balloon_compaction: use common page ballooning
mm/balloon_compaction: general cleanup
Laura Abbott (2):
common: dma-mapping: Swap function order
common: dma-mapping: Protect remapping functions with CONFIG_MMU
Mike Travis (2):
x86: optimize resource lookups for ioremap
x86: use optimized ioresource lookup in ioremap function
Oleg Nesterov (25):
mempolicy: change alloc_pages_vma() to use mpol_cond_put()
mempolicy: change get_task_policy() to return default_policy rather than NULL
mempolicy: sanitize the usage of get_task_policy()
mempolicy: remove the "task" arg of vma_policy_mof() and simplify it
mempolicy: introduce __get_vma_policy(), export get_task_policy()
mempolicy: fix show_numa_map() vs exec() + do_set_mempolicy() race
mempolicy: kill do_set_mempolicy()->down_write(&mm->mmap_sem)
mempolicy: unexport get_vma_policy() and remove its "task" arg
fs/proc/task_mmu.c: don't use task->mm in m_start() and show_*map()
fs/proc/task_mmu.c: unify/simplify do_maps_open() and numa_maps_open()
proc: introduce proc_mem_open()
fs/proc/task_mmu.c: shift mm_access() from m_start() to proc_maps_open()
fs/proc/task_mmu.c: simplify the vma_stop() logic
fs/proc/task_mmu.c: cleanup the "tail_vma" horror in m_next()
fs/proc/task_mmu.c: shift "priv->task = NULL" from m_start() to m_stop()
fs/proc/task_mmu.c: kill the suboptimal and confusing m->version logic
fs/proc/task_mmu.c: simplify m_start() to make it readable
fs/proc/task_mmu.c: introduce m_next_vma() helper
fs/proc/task_mmu.c: reintroduce m->version logic
fs/proc/task_mmu.c: update m->version in the main loop in m_start()
fs/proc/task_nommu.c: change maps_open() to use __seq_open_private()
fs/proc/task_nommu.c: shift mm_access() from m_start() to proc_maps_open()
fs/proc/task_nommu.c: don't use priv->task->mm
proc/maps: replace proc_maps_private->pid with "struct inode *inode"
proc/maps: make vm_is_stack() logic namespace-friendly
Rob Jones (2):
mm/vmalloc.c: use seq_open_private() instead of seq_open()
mm/slab.c: use __seq_open_private() instead of seq_open()
Sasha Levin (3):
mm: introduce dump_vma
mm: introduce VM_BUG_ON_VMA
mm: convert a few VM_BUG_ON callers to VM_BUG_ON_VMA
Weijie Yang (1):
mm: page_alloc: avoid wakeup kswapd on the unintended node
Zhang Zhen (2):
memory-hotplug: fix not enough check of valid zones
memory-hotplug: rename zones_online_to to valid_zones
proc/maps: make vm_is_stack() logic namespace-friendly
- Rename vm_is_stack() to task_of_stack() and change it to return
"struct task_struct *" rather than the global (and thus wrong in
general) pid_t.
- Add the new pid_of_stack() helper which calls task_of_stack() and
uses the right namespace to report the correct pid_t.
Unfortunately we need to define this helper twice, in task_mmu.c
and in task_nommu.c. perhaps it makes sense to add fs/proc/util.c
and move at least pid_of_stack/task_of_stack there to avoid the
code duplication.
- Change show_map_vma() and show_numa_map() to use the new helper.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Greg Ungerer <gerg@uclinux.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
4 files changed