Re: [PATCH] memcg swap: mem_cgroup_move_swap_account never needs fixup
From: Cong Wang <hidden>
Date: 2012-03-24 05:53:30
From: Cong Wang <hidden>
Date: 2012-03-24 05:53:30
On Fri, 23 Mar 2012 at 21:09 GMT, Andrew Morton [off-list ref] wrote:
On Fri, 23 Mar 2012 13:51:26 -0700 (PDT) Hugh Dickins [off-list ref] wrote:quoted
I believe it's now agreed that an 81-column line is better left unsplit.There's always a way ;)quoted
+ 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>