Re: [PATCH 2.6.0] Resident memory info in fs/proc/task_mmu.c

From: Christian Borntraeger
Date: Tue Dec 02 2003 - 10:52:39 EST


ajbezerra@xxxxxxxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/