All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cong Wang <xiyou.wangcong@gmail.com>
To: linux-mm@kvack.org
Subject: Re: [PATCH] memcg swap: mem_cgroup_move_swap_account never needs fixup
Date: Sat, 24 Mar 2012 05:53:15 +0000 (UTC)	[thread overview]
Message-ID: <jkjng9$iu2$1@dough.gmane.org> (raw)
In-Reply-To: 20120323140918.804b3860.akpm@linux-foundation.org

On Fri, 23 Mar 2012 at 21:09 GMT, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Fri, 23 Mar 2012 13:51:26 -0700 (PDT)
> Hugh Dickins <hughd@google.com> wrote:
>
>> I believe it's now agreed that an 81-column line is better left unsplit.
>
> There's always a way ;)
>
>> +			if (!mem_cgroup_move_swap_account(ent, mc.from, mc.to)) {
>
> The code sometimes uses "mem_cgroup" and sometimes "memcg".  I don't
> think the _, r, o, u and p add any value...
>

It seems that all global function/structs use "mem_cgroup", while local
variables use "memcg", don't know if this is a rule...

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2012-03-24  5:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 20:51 [PATCH] memcg swap: mem_cgroup_move_swap_account never needs fixup Hugh Dickins
2012-03-23 21:09 ` Andrew Morton
2012-03-24  5:53   ` Cong Wang [this message]
2012-03-24  0:26 ` Johannes Weiner
2012-03-26  1:12 ` KAMEZAWA Hiroyuki

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='jkjng9$iu2$1@dough.gmane.org' \
    --to=xiyou.wangcong@gmail.com \
    --cc=linux-mm@kvack.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.