aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/task_mmu.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 19:35:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 19:35:10 -0400
commit57d326169e878a1a37b2bccd1cf81f6809ee67b9 (patch)
tree86ed74ae4dc2beaebce1c67b8459f1873b777d3a /fs/proc/task_mmu.c
parent7b215de3d0abbc4f6daf2efd19e8809af0564490 (diff)
parent0244756edc4b98c129e92c7061d9f383708cf786 (diff)
Merge branch 'akpm' (patches from Andrew Morton) into next
Merge more updates from Andrew Morton: - Most of the rest of MM. This includes "mark remap_file_pages syscall as deprecated" but the actual "replace remap_file_pages syscall with emulation" is held back. I guess we'll need to work out when to pull the trigger on that one. - various minor cleanups to obscure filesystems - the drivers/rtc queue - hfsplus updates - ufs, hpfs, fatfs, affs, reiserfs - Documentation/ - signals - procfs - cpu hotplug - lib/idr.c - rapidio - sysctl - ipc updates * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (171 commits) ufs: sb mutex merge + mutex_destroy powerpc: update comments for generic idle conversion cris: update comments for generic idle conversion idle: remove cpu_idle() forward declarations nbd: zero from and len fields in NBD_CMD_DISCONNECT. mm: convert some level-less printks to pr_* MAINTAINERS: adi-buildroot-devel is moderated MAINTAINERS: add linux-api for review of API/ABI changes mm/kmemleak-test.c: use pr_fmt for logging fs/dlm/debug_fs.c: replace seq_printf by seq_puts fs/dlm/lockspace.c: convert simple_str to kstr fs/dlm/config.c: convert simple_str to kstr mm: mark remap_file_pages() syscall as deprecated mm: memcontrol: remove unnecessary memcg argument from soft limit functions mm: memcontrol: clean up memcg zoneinfo lookup mm/memblock.c: call kmemleak directly from memblock_(alloc|free) mm/mempool.c: update the kmemleak stack trace for mempool allocations lib/radix-tree.c: update the kmemleak stack trace for radix tree allocations mm: introduce kmemleak_update_trace() mm/kmemleak.c: use %u to print ->checksum ...
Diffstat (limited to 'fs/proc/task_mmu.c')
-rw-r--r--fs/proc/task_mmu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 48cbe4c0b2a5..5d9da22e29b0 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -1418,10 +1418,10 @@ static int show_numa_map(struct seq_file *m, void *v, int is_pid)
1418 seq_printf(m, "%08lx %s", vma->vm_start, buffer); 1418 seq_printf(m, "%08lx %s", vma->vm_start, buffer);
1419 1419
1420 if (file) { 1420 if (file) {
1421 seq_printf(m, " file="); 1421 seq_puts(m, " file=");
1422 seq_path(m, &file->f_path, "\n\t= "); 1422 seq_path(m, &file->f_path, "\n\t= ");
1423 } else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) { 1423 } else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) {
1424 seq_printf(m, " heap"); 1424 seq_puts(m, " heap");
1425 } else { 1425 } else {
1426 pid_t tid = vm_is_stack(task, vma, is_pid); 1426 pid_t tid = vm_is_stack(task, vma, is_pid);
1427 if (tid != 0) { 1427 if (tid != 0) {
@@ -1431,14 +1431,14 @@ static int show_numa_map(struct seq_file *m, void *v, int is_pid)
1431 */ 1431 */
1432 if (!is_pid || (vma->vm_start <= mm->start_stack && 1432 if (!is_pid || (vma->vm_start <= mm->start_stack &&
1433 vma->vm_end >= mm->start_stack)) 1433 vma->vm_end >= mm->start_stack))
1434 seq_printf(m, " stack"); 1434 seq_puts(m, " stack");
1435 else 1435 else
1436 seq_printf(m, " stack:%d", tid); 1436 seq_printf(m, " stack:%d", tid);
1437 } 1437 }
1438 } 1438 }
1439 1439
1440 if (is_vm_hugetlb_page(vma)) 1440 if (is_vm_hugetlb_page(vma))
1441 seq_printf(m, " huge"); 1441 seq_puts(m, " huge");
1442 1442
1443 walk_page_range(vma->vm_start, vma->vm_end, &walk); 1443 walk_page_range(vma->vm_start, vma->vm_end, &walk);
1444 1444