Re: [PATCH v2] memcg: fix section mismatch

From: Li Zefan
Date: Wed Jan 14 2009 - 02:13:58 EST


KAMEZAWA Hiroyuki wrote:
> On Wed, 14 Jan 2009 15:04:32 +0800
> Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
>
>> At system boot when creating the top cgroup, mem_cgroup_create() calls
>> enable_swap_cgroup() which is marked as __init, so mark mem_cgroup_create()
>> as __ref to avoid false section mismatch warning.
>>
>> Reported-by: Rakib Mullick <rakib.mullick@xxxxxxxxx>
>> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
>
> Acked-by; KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
>
>> ---
>>
>> use __ref instead of __init_refok
>>
> change log ?
>

Yes. But for this simple patch, I don't think change log for v1 -> v2 is worth
anything for the normal changelog. :)
--
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/