Re: [PATCH 00/23] proc cleanup.

From: Eric W. Biederman
Date: Sat Feb 25 2006 - 08:33:10 EST


Andrew Morton <akpm@xxxxxxxx> writes:

> ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:
>>
>> When working on pid namespaces I keep tripping over /proc.
>> It's hard coded inode numbers and the amount of cruft
>> accumulated over the years makes it hard to deal with.
>>
>> So to put /proc out of my misery here is a series of patches that
>> removes the worst of the warts.
>
> An additional 2.7k of vmlinux. A shame.

Yes. I guess so.

You want me to run the bloat-o-meter and see
if I can see where the size increase comes from?

Looking at the diffstat there was barely a code size
increase.

fs/exec.c | 9
fs/proc/base.c | 2374 ++++++++++++++++++++++------------------------
fs/proc/inode.c | 11
fs/proc/internal.h | 23
fs/proc/root.c | 13
fs/proc/task_mmu.c | 101 +
fs/proc/task_nommu.c | 21
include/linux/init_task.h | 1
include/linux/pid.h | 4
include/linux/proc_fs.h | 26
include/linux/sched.h | 3
include/linux/task_ref.h | 69 +
kernel/Makefile | 2
kernel/exit.c | 12
kernel/fork.c | 10
kernel/pid.c | 12
kernel/task_ref.c | 131 ++
mm/mempolicy.c | 6
18 files changed, 1533 insertions(+), 1295 deletions(-)


Eric





-
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/