Re: netlink init order

viro@parcelfarce.linux.theplanet.co.uk
Sun, 25 May 2003 23:20:06 +0100


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/