LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Ram Pai <linuxram@us.ibm.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Miklos Szeredi <miklos@szeredi.hu>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
viro@ftp.linux.org.uk, a.p.zijlstra@chello.nl
Subject: Re: [RFC PATCH] vfs: optimization to /proc/<pid>/mountinfo patch
Date: Sun, 10 Feb 2008 23:36:31 -0800 [thread overview]
Message-ID: <1202715391.1942.9.camel@ram.us.ibm.com> (raw)
In-Reply-To: <20080204012849.08c593e1.akpm@linux-foundation.org>
On Mon, 2008-02-04 at 01:28 -0800, Andrew Morton wrote:
> On Mon, 04 Feb 2008 01:15:05 -0800 Ram Pai <linuxram@us.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
next prev parent reply other threads:[~2008-02-11 7:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 13:57 [patch] vfs: create /proc/<pid>/mountinfo Miklos Szeredi
2008-01-31 0:08 ` Andrew Morton
2008-01-31 9:17 ` Miklos Szeredi
2008-01-31 18:45 ` Ram Pai
2008-02-04 9:15 ` [RFC PATCH] vfs: optimization to /proc/<pid>/mountinfo patch Ram Pai
2008-02-04 9:28 ` Andrew Morton
2008-02-11 7:36 ` Ram Pai [this message]
2008-02-04 11:49 ` Miklos Szeredi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1202715391.1942.9.camel@ram.us.ibm.com \
--to=linuxram@us.ibm.com \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=viro@ftp.linux.org.uk \
--subject='Re: [RFC PATCH] vfs: optimization to /proc/<pid>/mountinfo patch' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).