lkml.org 
[lkml]   [2011]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2][cleanup] memcg: renaming of mem variable to memcg
On 08/11/2011 01:35 PM, Michal Hocko wrote:
> On Wed 10-08-11 22:59:42, Raghavendra K T wrote:
>> The memcg code sometimes uses "struct mem_cgroup *mem" and sometimes uses
>> "struct mem_cgroup *memcg". This patch renames all mem variables to memcg in header file.
>
> Any reason (other than that this is a different file) to have this as a
> separate patch?
>
Yes you are right, There is no much significant reason. since source
file patch was so huge and viable for conflicts, thought it would apply
clean easily.
>>
>> From: Raghavendra K T<raghavendra.kt@linux.vnet.ibm.com>
>> Signed-off-by: Raghavendra K T<raghavendra.kt@linux.vnet.ibm.com>
>> ---
>> diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
>> index 5633f51..fb1ed1c 100644
>> --- a/include/linux/memcontrol.h
>> +++ b/include/linux/memcontrol.h
>> @@ -88,8 +88,8 @@ extern void mem_cgroup_uncharge_end(void);
>> extern void mem_cgroup_uncharge_page(struct page *page);
>> extern void mem_cgroup_uncharge_cache_page(struct page *page);
(snip)
>> }
>>
>> --
>> 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>
>



\
 
 \ /
  Last update: 2011-08-11 10:23    [W:0.127 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site