* [patch] mm: memcg: clean up fault accounting fix
@ 2011-12-22 19:07 Johannes Weiner
2011-12-22 19:31 ` KOSAKI Motohiro
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Johannes Weiner @ 2011-12-22 19:07 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm
Signed-off-by: Knucklehead <hannes@cmpxchg.org>
---
mm/memcontrol.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index bcba951..16add01 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -707,10 +707,10 @@ void mem_cgroup_count_vm_event(struct mm_struct *mm, enum vm_event_item idx)
goto out;
switch (idx) {
- case PGMAJFAULT:
+ case PGFAULT:
this_cpu_inc(memcg->stat->events[MEM_CGROUP_EVENTS_PGFAULT]);
break;
- case PGFAULT:
+ case PGMAJFAULT:
this_cpu_inc(memcg->stat->events[MEM_CGROUP_EVENTS_PGMAJFAULT]);
break;
default:
--
1.7.7.4
--
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>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [patch] mm: memcg: clean up fault accounting fix
2011-12-22 19:07 [patch] mm: memcg: clean up fault accounting fix Johannes Weiner
@ 2011-12-22 19:31 ` KOSAKI Motohiro
2011-12-26 7:02 ` KAMEZAWA Hiroyuki
2011-12-26 9:46 ` Minchan Kim
2 siblings, 0 replies; 4+ messages in thread
From: KOSAKI Motohiro @ 2011-12-22 19:31 UTC (permalink / raw)
To: Johannes Weiner; +Cc: Andrew Morton, linux-mm
(12/22/11 2:07 PM), Johannes Weiner wrote:
> Signed-off-by: Knucklehead<hannes@cmpxchg.org>
^^^^^^^
You have new name?
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] mm: memcg: clean up fault accounting fix
2011-12-22 19:07 [patch] mm: memcg: clean up fault accounting fix Johannes Weiner
2011-12-22 19:31 ` KOSAKI Motohiro
@ 2011-12-26 7:02 ` KAMEZAWA Hiroyuki
2011-12-26 9:46 ` Minchan Kim
2 siblings, 0 replies; 4+ messages in thread
From: KAMEZAWA Hiroyuki @ 2011-12-26 7:02 UTC (permalink / raw)
To: Johannes Weiner; +Cc: Andrew Morton, linux-mm
On Thu, 22 Dec 2011 20:07:54 +0100
Johannes Weiner <hannes@cmpxchg.org> wrote:
> Signed-off-by: Knucklehead <hannes@cmpxchg.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] mm: memcg: clean up fault accounting fix
2011-12-22 19:07 [patch] mm: memcg: clean up fault accounting fix Johannes Weiner
2011-12-22 19:31 ` KOSAKI Motohiro
2011-12-26 7:02 ` KAMEZAWA Hiroyuki
@ 2011-12-26 9:46 ` Minchan Kim
2 siblings, 0 replies; 4+ messages in thread
From: Minchan Kim @ 2011-12-26 9:46 UTC (permalink / raw)
To: Johannes Weiner; +Cc: Andrew Morton, linux-mm
On Fri, Dec 23, 2011 at 4:07 AM, Johannes Weiner <hannes@cmpxchg.org> wrote:
> Signed-off-by: Knucklehead <hannes@cmpxchg.org>
Reviewed-by: Minchan Kim <minchan@kernel.org>
--
Kind regards,
Minchan Kim
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-26 9:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-22 19:07 [patch] mm: memcg: clean up fault accounting fix Johannes Weiner
2011-12-22 19:31 ` KOSAKI Motohiro
2011-12-26 7:02 ` KAMEZAWA Hiroyuki
2011-12-26 9:46 ` Minchan Kim
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.