mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nathan <wfilardo@fuse.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Link order madness :-(
Date: Mon, 03 Jun 2002 13:52:18 -0400	[thread overview]
Message-ID: <3CFBACD2.4000904@fuse.net> (raw)
In-Reply-To: <200206031729.g53HTwTo002828@pincoya.inf.utfsm.cl>

Horst von Brand wrote:

>Jean Tourrilhes <jt@bougret.hpl.hp.com> said:
>
>[...]
>
>  
>
>>	The problem is *not* the networking initialisation (I wish
>>people were *reading* my e-mails). The basic networking is initialised
>>early enough. The various networking stacks could be initialised
>>earlier, but I don't depend on them. Note that there might be a reason
>>to initialise networking after the file system, so to do that we might
>>need to insert a level between fs_initcall() and device_initcall().
>>    
>>
>
>If you insert enough levels, you are in another form of madness.
>
>There should be a way of saying "This must be initialized after this, and
>before that" (the "before that" might perhaps be taken care of by the
>"that" itself). Spiced with a few "barriers": "Networking inited", etc.
>>From there the build system should figure it out by itself. tsort(1) on an
>appropiate bunch of descriptive one-liners (extracted from the sources?)
>should give the right initialization order, or error out.
>
>Yes, I know this has been proposed before and been thrown out (for no good
>reason, AFAICS)
>  
>

Throwing in my $.02.  /etc/rc.d/* seems to have 100 levels (00 through 
99) and it (so far) appears to be pretty sane, from my perspective. 
 While 100 levels are perhaps too many, would it be more reasonable to 
have, say _early_initcall, _initcall, and _late_initcall for each of the 
categories (arch, fs, device, etc.)?  This would allow more granularity 
within levels so things needn't ever be improperly promoted out of their 
rightly-named level.  Prolly not, just thought I'd ask.

--Nathan



  reply	other threads:[~2002-06-03 17:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-01  0:21 Jean Tourrilhes
2002-06-01  6:55 ` Dan Aloni
2002-06-01  7:43   ` Kai Germaschewski
2002-06-03 17:14     ` Jean Tourrilhes
2002-06-03 17:29       ` Horst von Brand
2002-06-03 17:52         ` Nathan [this message]
2002-06-03 18:13         ` Thunder from the hill
2002-06-03 17:47       ` Dan Aloni

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=3CFBACD2.4000904@fuse.net \
    --to=wfilardo@fuse.net \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®