Re: [PATCH] net: make ctl_path local and const |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Joe Perches <joe@xxxxxxxxxxx>
- Subject: Re: [PATCH] net: make ctl_path local and const
- From: Changli Gao <xiaosuo@xxxxxxxxx>
- Date: Wed, 20 Oct 2010 13:10:27 +0800
- Cc: Andy Grover <andy.grover@xxxxxxxxxx>, linux-sctp@xxxxxxxxxxxxxxx, rds-devel@xxxxxxxxxxxxxx, "Pekka Savola \(ipv6\)" <pekkas@xxxxxxxxxx>, linux-x25@xxxxxxxxxxxxxxx, dccp@xxxxxxxxxxxxxxx, bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx, James Morris <jmorris@xxxxxxxxx>, coreteam@xxxxxxxxxxxxx, Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx>, Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>, Joerg Reuter <jreuter@xxxxxxxx>, Sridhar Samudrala <sri@xxxxxxxxxx>, Samuel Ortiz <samuel@xxxxxxxxxx>, Vlad Yasevich <vladislav.yasevich@xxxxxx>, netfilter@xxxxxxxxxxxxxxx, Remi Denis-Courmont <remi.denis-courmont@xxxxxxxxx>, linux-hams@xxxxxxxxxxxxxxx, Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, linux-decnet-user@xxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Ralf Baechle <ralf@xxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, netfilter-devel@xxxxxxxxxxxxxxx, Andrew Hendry <andrew.hendry@xxxxxxxxx>
- In-reply-to: <1287550779.10409.620.camel@Joe-Laptop>
- References: <1287543276-4511-1-git-send-email-xiaosuo@xxxxxxxxx> <1287543701.10409.599.camel@Joe-Laptop> <AANLkTi=pz4zYnnUSvb9FjVvCAURruHhJTz7pBKDi8Pdw@xxxxxxxxxxxxxx> <1287545337.10409.602.camel@Joe-Laptop> <AANLkTimGUB-+TTsje1kc3q9PyoB2jJdgCK2Z7n9u7N1J@xxxxxxxxxxxxxx> <1287550779.10409.620.camel@Joe-Laptop>
On Wed, Oct 20, 2010 at 12:59 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> Not using static requires the compiler to emit
> initialization code for any use of the routine
> that otherwise would only be done once.
>
If the code isn't performance critical, I think we can afford.
Otherwise, we have to reserve the memory used to save the static data,
if we don't specify it as initial data.
--
Regards,
Changli Gao(xiaosuo@xxxxxxxxx)
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge
[Netdev]
[AoE Tools]
[Linux Wireless]
[Kernel Newbies]
[Security]
[Linux for Hams]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux Admin]
[Samba]
[Video 4 Linux]
[Linux Resources]