[rds-devel] [PATCH] net: make ctl_path local and const
Changli Gao
xiaosuo at gmail.com
Tue Oct 19 22:10:27 PDT 2010
On Wed, Oct 20, 2010 at 12:59 PM, Joe Perches <joe at perches.com> 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 at gmail.com)
More information about the rds-devel
mailing list