Re: [PATCH 2/2][cleanup] memcg: renaming of mem variable to memcg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Raghavendra K T<raghavendra.kt@xxxxxxxxxxxxxxxxxx>
---
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@xxxxxxxxx.  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@xxxxxxxxx";>  email@xxxxxxxxx</a>


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  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@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]