public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Li Zefan <lizf@cn.fujitsu.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Balbir Singh <balbir@linux.vnet.ibm.com>,
	Rakib Mullick <rakib.mullick@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] memcg: fix section mismatch
Date: Wed, 14 Jan 2009 15:12:55 +0800	[thread overview]
Message-ID: <496D9077.3060705@cn.fujitsu.com> (raw)
In-Reply-To: <20090114160758.159415f5.kamezawa.hiroyu@jp.fujitsu.com>

KAMEZAWA Hiroyuki wrote:
> On Wed, 14 Jan 2009 15:04:32 +0800
> Li Zefan <lizf@cn.fujitsu.com> 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@gmail.com>
>> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
> 
> Acked-by; KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> 
>> ---
>>
>> 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. :)

      reply	other threads:[~2009-01-14  7:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  7:04 [PATCH v2] memcg: fix section mismatch Li Zefan
2009-01-14  7:07 ` KAMEZAWA Hiroyuki
2009-01-14  7:12   ` Li Zefan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=496D9077.3060705@cn.fujitsu.com \
    --to=lizf@cn.fujitsu.com \
    --cc=akpm@linux-foundation.org \
    --cc=balbir@linux.vnet.ibm.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rakib.mullick@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox