lkml.org 
[lkml]   [2003]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: netlink init order
On Sun, May 25, 2003 at 03:12:28PM -0700, Linus Torvalds wrote:
>
> On Sun, 25 May 2003 viro@parcelfarce.linux.theplanet.co.uk wrote:
> >
> > BTW, is there any reason why init_netlink_dev() is not a module_init()?

Grr... init_netlink(), that is.

> Probably not. I don't know if the thing even makes sense without a user
> space, which definitely implies that it shouldn't be a "core" initcall.
>
> Even more true as it seems to depend on other core subsystems already
> being initialized.
>
> Davem? Who uses this thing?

After looking at the code in question, I _really_ doubt that other initcalls
might rely on it. It does
* register character device
* create a /dev/netlink (on devfs) and a bunch of entries there.

That's it. Unless we have some initcall code that cares to mount devfs
and open files on it (or does such mknod on rootfs and opens the result)...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:1.942 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site