Re: netlink init order

From: viro (viro@parcelfarce.linux.theplanet.co.uk)
Date: Sun May 25 2003 - 17:23:41 EST


On Sun, May 25, 2003 at 03:12:28PM -0700, Linus Torvalds wrote:
>
> On Sun, 25 May 2003 viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/