Re: Initcall ordering problem (TTY vs modprobe vs MD5) and cryptomgr problem

From: Linus Torvalds
Date: Thu Aug 05 2010 - 22:28:04 EST

On Thu, Aug 5, 2010 at 7:23 PM, David Howells <dhowells@xxxxxxxxxx> wrote:
> I wonder if tty_init() should be moved up, perhaps to immediately after
> chrdev_init().

I do think that sounds sane. The tty layer is kind of special.

I wouldn't call it _after_ chrdev_init(), though, I'd call it _from_
chrdev_init(). Doesn't that make more sense (and keep it out of
fs/dcache.c, which is an odd place to have some tty init).

But maybe there's some reason why it's an initcall. Unlikely.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at