From: Al Viro <viro@ZenIV.linux.org.uk>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Mike Frysinger <vapier.adi@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
linux-arch@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] make INIT_FS use the __RW_LOCK_UNLOCKED initialization
Date: Thu, 11 Dec 2008 02:34:39 +0000 [thread overview]
Message-ID: <20081211023439.GJ28946@ZenIV.linux.org.uk> (raw)
In-Reply-To: <alpine.DEB.1.10.0812102010100.29200@gandalf.stny.rr.com>
On Wed, Dec 10, 2008 at 08:11:02PM -0500, Steven Rostedt wrote:
>
> On Wed, 10 Dec 2008, Mike Frysinger wrote:
>
> > On Wed, Dec 10, 2008 at 18:43, Al Viro wrote:
> > > On Wed, Dec 10, 2008 at 06:37:28PM -0500, Steven Rostedt wrote:
> > >>
> > >> The following patch is in:
> > >>
> > >> git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
> > >>
> > >> branch: cleanups
> > >
> > > Would be better to take init_fs to something in fs/ or kernel/ and kill
> > > the duplicates, along with INIT_FS macro itself...
> >
> > how about the next level: unify init_task.c. a quick check shows that
> > like 90% of the stuff in there is the same for everyone ...
> > -mike
>
> I could probably do it for x86 and PPC, but beyond that, each arch
> maintainer will have to do it separately. That's a change that would need
> testing.
>
> These changes are trivial (something I need to get RT working).
Guys, let's not take it to init/main.c, please. That file is basically
a trashcan and I'd rather take that stuff to more or less relevant places
in kernel/* and fs/*. FWIW, I've done that with init_files (fs/file.c)
some time ago. For init_fs... Hell knows. Might make sense to take
that to separate file, actually (kernel/exit.c and kernel/fork.c bits
related to fs_struct).
BTW, why does sparc64 export put_fs_struct? And is there any good reason
for doing copy_fs_struct() in nfsd instead of just teaching kthread_create()
how to create threads without sharing fs_struct (or descriptors, while we
are at it)?
next prev parent reply other threads:[~2008-12-11 2:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 23:37 [PATCH] make INIT_FS use the __RW_LOCK_UNLOCKED initialization Steven Rostedt
2008-12-10 23:43 ` Al Viro
2008-12-11 0:01 ` Steven Rostedt
2008-12-11 0:23 ` [PATCH] remove duplicate init_fs Steven Rostedt
2008-12-11 1:07 ` [PATCH] make INIT_FS use the __RW_LOCK_UNLOCKED initialization Mike Frysinger
2008-12-11 1:11 ` Steven Rostedt
2008-12-11 2:34 ` Al Viro [this message]
2008-12-11 21:22 ` Sam Ravnborg
2008-12-12 4:28 ` David Miller
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=20081211023439.GJ28946@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=akpm@linux-foundation.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=vapier.adi@gmail.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.