[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070917101314.5d1673da@freepuppy.rosehill.hemminger.net>
Date: Mon, 17 Sep 2007 10:13:14 -0700
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: dlezcano@...ibm.com
Cc: davem@...emloft.net, netdev@...r.kernel.org,
containers@...ts.osdl.org,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Kirill Korotaev <dev@...ru>,
Benjamin Thery <benjamin.thery@...l.net>
Subject: Re: [net-2.6.24][patch 2/2] Dynamically allocate the loopback
device
On Mon, 17 Sep 2007 15:45:11 +0200
dlezcano@...ibm.com wrote:
> From: Daniel Lezcano <dlezcano@...ibm.com>
>
> Doing this makes loopback.c a better example of how to do a
> simple network device, and it removes the special case
> single static allocation of a struct net_device, hopefully
> making maintenance easier.
>
What is before/after code and data size, does it make code smaller?
>
> -module_init(loopback_init);
> +fs_initcall(loopback_init);
>
> +struct net_device *loopback_dev;
> EXPORT_SYMBOL(loopback_dev);
--
Stephen Hemminger <shemminger@...ux-foundation.org>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists