Messages in this thread | | | From | Christian Borntraeger <> | Subject | Re: [PATCH 2.6.0] Resident memory info in fs/proc/task_mmu.c | Date | Tue, 2 Dec 2003 16:50:19 +0100 |
| |
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/
| |