Re: [PATCH] memcg: reduce size of per-cpu-stat to be appropriatesize.
From: Balbir Singh
Date: Fri Nov 14 2008 - 03:04:43 EST
Li Zefan wrote:
>>>> +static int mem_cgroup_size(void)
>>> inline this function?
>>>
>> necessary ?
>>
>
> Not so necessary IMO. It's called when a cgroup is created and removed, that
> is mkdir and rmdir, where performance is not critical.
>
I think most new compilers can automatically inline such functions, but a hint
for the older ones is always a good practice.
--
Balbir
--
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/