login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
4
Re: [PATCH -mm 3/5] memcg scalable file stat accounting method
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: KAMEZAWA Hiroyuki
Subject:
Re: [PATCH -mm 3/5] memcg scalable file stat accounting method
Date: Tuesday, August 3, 2010 - 6:11 pm
On Wed, 4 Aug 2010 09:55:13 +0900 Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> wrote:
quoted text
> > @@ -1074,7 +1075,49 @@ static unsigned int get_swappiness(struc > > return swappiness; > > } > > > > -/* A routine for testing mem is not under move_account */ > > +static void mem_cgroup_start_move(struct mem_cgroup *mem) > > +{ > > + int cpu; > > + /* for fast checking in mem_cgroup_update_file_stat() etc..*/ > > + spin_lock(&mc.lock); > > + for_each_possible_cpu(cpu) > > + per_cpu(mem->stat->count[MEM_CGROUP_ON_MOVE], cpu) += 1; > > + spin_unlock(&mc.lock); > > + > > + synchronize_rcu(); > > +} > > + > > +static void mem_cgroup_end_move(struct mem_cgroup *mem) > > +{ > > + int cpu; > > + > > + if (!mem) > > + return; > Is this check necessary? >
Yes, I hit NULL here. That happens migration=off case, IIRC. Thanks, -Kame
quoted text
> Thanks, > Daisuke Nishimura. > > -- > 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/
. > Don't email: <a href=mailto:"dont@kvack.org">
email@kvack.org
</a> >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH -mm 0/5] towards I/O aware memory cgroup v3.
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 3:11 am)
[PATCH -mm 1/5] quick lookup memcg by ID
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 3:13 am)
[PATCH -mm 2/5] use ID in page cgroup
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 3:14 am)
[PATCH -mm 3/5] memcg scalable file stat accounting method
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 3:15 am)
[PATCH -mm 4/5] memcg generic file stat accounting interface.
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 3:17 am)
[PATCH -mm 5/5] memcg: use spinlock in page_cgroup instead ...
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 3:20 am)
Re: [PATCH -mm 0/5] towards I/O aware memory cgroup v3.
, Balbir Singh
, (Mon Aug 2, 7:36 pm)
Re: [PATCH -mm 1/5] quick lookup memcg by ID
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 8:21 pm)
Re: [PATCH -mm 1/5] quick lookup memcg by ID
, Balbir Singh
, (Mon Aug 2, 8:22 pm)
Re: [PATCH -mm 3/5] memcg scalable file stat accounting method
, Balbir Singh
, (Mon Aug 2, 8:33 pm)
Re: [PATCH -mm 1/5] quick lookup memcg by ID
, Balbir Singh
, (Mon Aug 2, 8:38 pm)
Re: [PATCH -mm 3/5] memcg scalable file stat accounting method
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 8:39 pm)
Re: [PATCH -mm 2/5] use ID in page cgroup
, Balbir Singh
, (Mon Aug 2, 8:45 pm)
Re: [PATCH -mm 2/5] use ID in page cgroup
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 8:48 pm)
Re: [PATCH -mm 4/5] memcg generic file stat accounting int ...
, Balbir Singh
, (Mon Aug 2, 9:03 pm)
Re: [PATCH -mm 5/5] memcg: use spinlock in page_cgroup ins ...
, Balbir Singh
, (Mon Aug 2, 9:06 pm)
Re: [PATCH -mm 4/5] memcg generic file stat accounting int ...
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 9:24 pm)
Re: [PATCH -mm 5/5] memcg: use spinlock in page_cgroup ins ...
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 9:25 pm)
Re: [PATCH -mm 1/5] quick lookup memcg by ID
, Daisuke Nishimura
, (Mon Aug 2, 9:31 pm)
Re: [PATCH -mm 1/5] quick lookup memcg by ID
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 9:37 pm)
Re: [PATCH -mm 1/5] quick lookup memcg by ID
, Daisuke Nishimura
, (Mon Aug 2, 9:51 pm)
Re: [PATCH -mm 1/5] quick lookup memcg by ID
, KAMEZAWA Hiroyuki
, (Mon Aug 2, 9:54 pm)
Re: [PATCH -mm 1/5] quick lookup memcg by ID
, Daisuke Nishimura
, (Mon Aug 2, 10:04 pm)
Re: [PATCH -mm 3/5] memcg scalable file stat accounting method
, Daisuke Nishimura
, (Tue Aug 3, 5:55 pm)
Re: [PATCH -mm 3/5] memcg scalable file stat accounting method
, KAMEZAWA Hiroyuki
, (Tue Aug 3, 6:11 pm)
Re: [PATCH -mm 3/5] memcg scalable file stat accounting method
, Daisuke Nishimura
, (Tue Aug 3, 6:25 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Lang
Re: [patch] MTD: fix DOC2000/2001/2001PLUS build error
Steven Rostedt
Re: [PATCH] input: Fix interrupt enable in i8042_ctr when enabling interrupt fails
Linus Torvalds
Re: [patch] epoll use a single inode ...
David Miller
Re: tg3: unable to handle null pointer dereference
Frank Seidel
Re: [RFC 13/13] Char: nozomi, cleanup read and write
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
cgroups: fix probable race with put_css_set[_taskexit] and find_css_set
Linux Kernel Mailing List
[libata] Export ata_pio_queue_task() so that it can be used from sata_mv.
Linux Kernel Mailing List
[ARM] 5209/1: metronomefb: changes to use platform framebuffer
git
:
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Daniel Barkalow
Re: git and mtime
Linus Torvalds
Re: [PATCH] Teach 'git pull' the '--rebase' option
Alex Riesen
Re: Easy shell question: how to make a script killing all his childs when killed?
freebsd-current
:
Mark Linimon
Why the FreeBSD license will not be changing
Michael Moll
Re: Unable to boot on ECS K7S5A
FreeBSD Tinderbox
[head tinderbox] failure on ia64/ia64
Jille Timmermans
Re: svn commit: r185482 - head/sys/dev/ath/ath_rate/sample
Hayer, Sukhjinder
8_CURRENT boot problem
linux-netdev
:
Timo Teräs
ip xfrm policy semantics
Andi Kleen
Re: [ANNOUNCE]: First release of nftables
John P Poet
Realtek 8111C transmit timed out
Jeff Garzik
Re: [PATCH] fix netxen_pci_tbl[] breakage
Jesper Dangaard Brouer
[PATCH] iputils: arping fails to set correct broadcast address
Colocation donated by:
Syndicate