From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] make INIT_FS use the __RW_LOCK_UNLOCKED initialization Date: Thu, 11 Dec 2008 20:28:07 -0800 (PST) Message-ID: <20081211.202807.55399657.davem@davemloft.net> References: <20081211023439.GJ28946@ZenIV.linux.org.uk> <20081211212228.GB27223@uranus.ravnborg.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:34032 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1756221AbYLLE2I (ORCPT ); Thu, 11 Dec 2008 23:28:08 -0500 In-Reply-To: <20081211212228.GB27223@uranus.ravnborg.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: sam@ravnborg.org Cc: viro@ZenIV.linux.org.uk, rostedt@goodmis.org, vapier.adi@gmail.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, akpm@linux-foundation.org, mingo@elte.hu, tglx@linutronix.de From: Sam Ravnborg Date: Thu, 11 Dec 2008 22:22:28 +0100 > > > > 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? > I have sent a patch to davem now to get it removed. It was used by the sunos and solaris syscall compat layers, which were removed recently.