Messages in this thread | | | From | Linus Torvalds <> | Date | Thu, 5 Aug 2010 19:27:33 -0700 | Subject | Re: Initcall ordering problem (TTY vs modprobe vs MD5) and cryptomgr problem |
| |
On Thu, Aug 5, 2010 at 7:23 PM, David Howells <dhowells@redhat.com> 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.
Linus
| |