lkml.org 
[lkml]   [2003]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2.6.0] Resident memory info in fs/proc/task_mmu.c
Date
ajbezerra@ufam.edu.br wrote:
> Hi everyone,
>
> Here is a suggestion for a patch of fs/proc/task_mm.c which gives
> more information about resident memory allocation for a given
> process PID at /proc/PID/status.
> - unsigned long data = 0, stack = 0, exec = 0, lib = 0;
> - struct vm_area_struct *vma;
> -
> - down_read(&mm->mmap_sem);
> - for (vma = mm->mmap; vma; vma = vma->vm_next) {
[...]
> + unsigned long data = 0, stack = 0, exec = 0, lib = 0;
[...]
> + struct vm_area_struct *vma;
> + down_read(&mm->mmap_sem);
[...]

and so on.

Why are you breaking the Coding style? Can you keep the standard indentation
please? This will make your patch much smaller and easier to see what you
actually changed.

cheers

Christian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.028 / U:14.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site