[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1202715391.1942.9.camel@ram.us.ibm.com>
Date: Sun, 10 Feb 2008 23:36:31 -0800
From: Ram Pai <linuxram@...ibm.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Miklos Szeredi <miklos@...redi.hu>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, viro@....linux.org.uk,
a.p.zijlstra@...llo.nl
Subject: Re: [RFC PATCH] vfs: optimization to /proc/<pid>/mountinfo patch
On Mon, 2008-02-04 at 01:28 -0800, Andrew Morton wrote:
> On Mon, 04 Feb 2008 01:15:05 -0800 Ram Pai <linuxram@...ibm.com> wrote:
>
> > 1) reports deleted inode in dentry_path() consistent with that in __d_path()
> > 2) modified __d_path() to use prepend(), reducing the size of __d_path()
> > 3) moved all the functionality that reports mount information in /proc under
> > CONFIG_PROC_FS.
> >
> > Could not verify if the code would work with CONFIG_PROC_FS=n, since it was
> > impossible to disable CONFIG_PROC_FS. Looking for ideas on how to disable
> > CONFIG_PROC_FS.
this worked. thanks. There was one place in ipv4 that failed compilation
with proc_fs disabled. Fixed that. Otherwise everything compiled
cleanly.
>
> Do `make menuconfig', then hit '/' and search for "proc_fs".
>
> It'll tell you that you need to set EMBEDDED=y to disable procfs.
>
> > fs/dcache.c | 59 +++++++++++++++++++----------------------------
> > fs/namespace.c | 2 +
> > fs/seq_file.c | 2 +
> > include/linux/dcache.h | 3 ++
> > include/linux/seq_file.h | 3 ++
>
> Please resend after testing that, thanks.
with procfs disabled, the boot fails, since nash(fedora's startup
script) which links with libc.so library has dependencies on /proc. Nash
segfaults and so does init. looking for ideas.
without passing this hurdle, its hard to test the patch :(
RP
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists