login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
12
Re: [PATCH v2] memcg: reduce lock time at move charge (Was Re: [PATCH 04/10] memcg: disable local interrupts in lock_page_cgroup()
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Balbir Singh
Subject:
Re: [PATCH v2] memcg: reduce lock time at move charge (Was Re: [PATCH 04/10] memcg: disable local interrupts in lock_page_cgroup()
Date: Monday, October 11, 2010 - 8:39 pm
* KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> [2010-10-08 19:41:31]:
quoted text
> On Fri, 8 Oct 2010 14:12:01 +0900 > KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote: > > > Sure. It walks the same data three times, potentially causing > > > thrashing in the L1 cache. > > > > Hmm, make this 2 times, at least. > > > How about this ? > == > From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> > > Presently, at task migration among cgroups, memory cgroup scans page tables and > moves accounting if flags are properly set. > > > The core code, mem_cgroup_move_charge_pte_range() does > > pte_offset_map_lock(); > for all ptes in a page table: > 1. look into page table, find_and_get a page > 2. remove it from LRU. > 3. move charge. > 4. putback to LRU. put_page() > pte_offset_map_unlock(); > > for pte entries on a 3rd level? page table. > > As a planned updates, we'll support dirty-page accounting. Because move_charge() > is highly race, we need to add more check in move_charge. > For example, lock_page();-> wait_on_page_writeback();-> unlock_page(); > is an candidate for new check. >
Is this a change to help dirty limits or is it a generic bug fix. -- Three Cheers, Balbir --
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 00/10] memcg: per cgroup dirty page accounting
, Greg Thelen
, (Sun Oct 3, 11:57 pm)
[PATCH 01/10] memcg: add page_cgroup flags for dirty page ...
, Greg Thelen
, (Sun Oct 3, 11:57 pm)
[PATCH 02/10] memcg: document cgroup dirty memory interfaces
, Greg Thelen
, (Sun Oct 3, 11:57 pm)
[PATCH 03/10] memcg: create extensible page stat update ro ...
, Greg Thelen
, (Sun Oct 3, 11:57 pm)
[PATCH 04/10] memcg: disable local interrupts in lock_page ...
, Greg Thelen
, (Sun Oct 3, 11:57 pm)
[PATCH 05/10] memcg: add dirty page accounting infrastructure
, Greg Thelen
, (Sun Oct 3, 11:58 pm)
[PATCH 06/10] memcg: add kernel calls for memcg dirty page ...
, Greg Thelen
, (Sun Oct 3, 11:58 pm)
[PATCH 07/10] memcg: add dirty limits to mem_cgroup
, Greg Thelen
, (Sun Oct 3, 11:58 pm)
[PATCH 08/10] memcg: add cgroupfs interface to memcg dirty ...
, Greg Thelen
, (Sun Oct 3, 11:58 pm)
[PATCH 09/10] writeback: make determine_dirtyable_memory() ...
, Greg Thelen
, (Sun Oct 3, 11:58 pm)
[PATCH 10/10] memcg: check memcg dirty limits in page writ ...
, Greg Thelen
, (Sun Oct 3, 11:58 pm)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, Ciju Rajan K
, (Mon Oct 4, 6:48 am)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, Greg Thelen
, (Mon Oct 4, 8:43 am)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, Ciju Rajan K
, (Mon Oct 4, 10:35 am)
Re: [PATCH 00/10] memcg: per cgroup dirty page accounting
, Balbir Singh
, (Mon Oct 4, 9:20 pm)
Re: [PATCH 00/10] memcg: per cgroup dirty page accounting
, Balbir Singh
, (Mon Oct 4, 9:50 pm)
Re: [PATCH 00/10] memcg: per cgroup dirty page accounting
, Greg Thelen
, (Mon Oct 4, 10:50 pm)
Re: [PATCH 01/10] memcg: add page_cgroup flags for dirty p ...
, KAMEZAWA Hiroyuki
, (Mon Oct 4, 11:20 pm)
Re: [PATCH 02/10] memcg: document cgroup dirty memory inte ...
, KAMEZAWA Hiroyuki
, (Mon Oct 4, 11:48 pm)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, KAMEZAWA Hiroyuki
, (Mon Oct 4, 11:51 pm)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ...
, KAMEZAWA Hiroyuki
, (Mon Oct 4, 11:54 pm)
Re: [PATCH 06/10] memcg: add kernel calls for memcg dirty ...
, KAMEZAWA Hiroyuki
, (Mon Oct 4, 11:55 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, KAMEZAWA Hiroyuki
, (Tue Oct 5, 12:07 am)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, Greg Thelen
, (Tue Oct 5, 12:10 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, KAMEZAWA Hiroyuki
, (Tue Oct 5, 12:13 am)
Re: [PATCH 09/10] writeback: make determine_dirtyable_memo ...
, KAMEZAWA Hiroyuki
, (Tue Oct 5, 12:15 am)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ...
, Greg Thelen
, (Tue Oct 5, 12:18 am)
Re: [PATCH 05/10] memcg: add dirty page accounting infrast ...
, KAMEZAWA Hiroyuki
, (Tue Oct 5, 12:22 am)
Re: [PATCH 10/10] memcg: check memcg dirty limits in page ...
, KAMEZAWA Hiroyuki
, (Tue Oct 5, 12:29 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, KAMEZAWA Hiroyuki
, (Tue Oct 5, 12:31 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Greg Thelen
, (Tue Oct 5, 12:33 am)
Re: [PATCH 05/10] memcg: add dirty page accounting infrast ...
, Greg Thelen
, (Tue Oct 5, 12:35 am)
Re: [PATCH 00/10] memcg: per cgroup dirty page accounting
, Ciju Rajan K
, (Tue Oct 5, 1:37 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Andrea Righi
, (Tue Oct 5, 2:18 am)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, Andrea Righi
, (Tue Oct 5, 2:43 am)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, Minchan Kim
, (Tue Oct 5, 8:42 am)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ...
, Minchan Kim
, (Tue Oct 5, 9:03 am)
Re: [PATCH 05/10] memcg: add dirty page accounting infrast ...
, Minchan Kim
, (Tue Oct 5, 9:09 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, David Rientjes
, (Tue Oct 5, 11:31 am)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, Greg Thelen
, (Tue Oct 5, 12:00 pm)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, Greg Thelen
, (Tue Oct 5, 12:59 pm)
Re: [PATCH 05/10] memcg: add dirty page accounting infrast ...
, Greg Thelen
, (Tue Oct 5, 1:06 pm)
Re: [PATCH 00/10] memcg: per cgroup dirty page accounting
, Andrea Righi
, (Tue Oct 5, 3:15 pm)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ...
, Greg Thelen
, (Tue Oct 5, 4:26 pm)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, Minchan Kim
, (Tue Oct 5, 4:57 pm)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ...
, Minchan Kim
, (Tue Oct 5, 5:15 pm)
Re: [PATCH 10/10] memcg: check memcg dirty limits in page ...
, Minchan Kim
, (Tue Oct 5, 5:32 pm)
Re: [PATCH 01/10] memcg: add page_cgroup flags for dirty p ...
, Daisuke Nishimura
, (Tue Oct 5, 5:37 pm)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, Greg Thelen
, (Tue Oct 5, 5:48 pm)
Re: [PATCH 02/10] memcg: document cgroup dirty memory inte ...
, Daisuke Nishimura
, (Tue Oct 5, 5:49 pm)
Re: [PATCH 00/10] memcg: per cgroup dirty page accounting
, Balbir Singh
, (Tue Oct 5, 8:23 pm)
Re: [PATCH 01/10] memcg: add page_cgroup flags for dirty p ...
, Balbir Singh
, (Wed Oct 6, 4:07 am)
Re: [PATCH 02/10] memcg: document cgroup dirty memory inte ...
, Balbir Singh
, (Wed Oct 6, 4:12 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Balbir Singh
, (Wed Oct 6, 6:30 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Balbir Singh
, (Wed Oct 6, 6:32 am)
Re: [PATCH 03/10] memcg: create extensible page stat updat ...
, Balbir Singh
, (Wed Oct 6, 9:19 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Greg Thelen
, (Wed Oct 6, 9:21 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Balbir Singh
, (Wed Oct 6, 9:24 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Greg Thelen
, (Wed Oct 6, 11:34 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Andrea Righi
, (Wed Oct 6, 1:54 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, KAMEZAWA Hiroyuki
, (Wed Oct 6, 5:13 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, Greg Thelen
, (Wed Oct 6, 5:27 pm)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ...
, KAMEZAWA Hiroyuki
, (Wed Oct 6, 5:35 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, KAMEZAWA Hiroyuki
, (Wed Oct 6, 5:48 pm)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ...
, Daisuke Nishimura
, (Wed Oct 6, 6:54 pm)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ...
, KAMEZAWA Hiroyuki
, (Wed Oct 6, 7:17 pm)
[PATCH] memcg: reduce lock time at move charge (Was Re: [P ...
, KAMEZAWA Hiroyuki
, (Wed Oct 6, 11:21 pm)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Ciju Rajan K
, (Wed Oct 6, 11:23 pm)
[PATCH] memcg: lock-free clear page writeback (Was Re: [P ...
, KAMEZAWA Hiroyuki
, (Wed Oct 6, 11:24 pm)
Re: [PATCH] memcg: reduce lock time at move charge (Was Re ...
, Daisuke Nishimura
, (Thu Oct 7, 12:28 am)
Re: [PATCH] memcg: reduce lock time at move charge (Was Re ...
, KAMEZAWA Hiroyuki
, (Thu Oct 7, 12:42 am)
[PATCH v2] memcg: reduce lock time at move charge (Was Re: ...
, KAMEZAWA Hiroyuki
, (Thu Oct 7, 1:04 am)
Re: [PATCH] memcg: lock-free clear page writeback (Was Re ...
, KAMEZAWA Hiroyuki
, (Thu Oct 7, 2:05 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ...
, Greg Thelen
, (Thu Oct 7, 10:46 am)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, Andrew Morton
, (Thu Oct 7, 4:14 pm)
Re: [PATCH] memcg: lock-free clear page writeback (Was Re: ...
, Minchan Kim
, (Thu Oct 7, 4:35 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, Daisuke Nishimura
, (Thu Oct 7, 6:12 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, KAMEZAWA Hiroyuki
, (Thu Oct 7, 9:37 pm)
Re: [PATCH] memcg: lock-free clear page writeback (Was Re: ...
, KAMEZAWA Hiroyuki
, (Thu Oct 7, 9:41 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, Andrew Morton
, (Thu Oct 7, 9:55 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, KAMEZAWA Hiroyuki
, (Thu Oct 7, 10:12 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, KAMEZAWA Hiroyuki
, (Fri Oct 8, 3:41 am)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, Greg Thelen
, (Mon Oct 11, 5:24 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, KAMEZAWA Hiroyuki
, (Mon Oct 11, 5:55 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, Balbir Singh
, (Mon Oct 11, 8:39 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, KAMEZAWA Hiroyuki
, (Mon Oct 11, 8:42 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, Balbir Singh
, (Mon Oct 11, 8:54 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, Daisuke Nishimura
, (Mon Oct 11, 8:56 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ...
, KAMEZAWA Hiroyuki
, (Mon Oct 11, 10:01 pm)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ...
, Balbir Singh
, (Mon Oct 11, 10:39 pm)
[PATCH v4] memcg: reduce lock time at move charge
, KAMEZAWA Hiroyuki
, (Mon Oct 11, 10:48 pm)
Re: [PATCH v4] memcg: reduce lock time at move charge
, Daisuke Nishimura
, (Mon Oct 11, 11:23 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, Greg Thelen
, (Tue Oct 12, 12:32 am)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup
, KAMEZAWA Hiroyuki
, (Tue Oct 12, 1:38 am)
Re: [PATCH 00/10] memcg: per cgroup dirty page accounting
, KAMEZAWA Hiroyuki
, (Sun Oct 17, 10:56 pm)
Re: [PATCH 00/10] memcg: per cgroup dirty page accounting
, Greg Thelen
, (Mon Oct 18, 11:09 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jesse Barnes
Re: [stable] [BUG][PATCH] cpqphp: fix kernel NULL pointer dereference
Greg KH
[003/136] p54usb: add Zcomax XG-705A usbid
Magnus Damm
[PATCH 03/07] ARM: Use shared GIC entry macros on Realview
Oliver Neukum
Re: [Bug #13682] The webcam stopped working when upgrading from 2.6.29 to 2.6.30
Martin Schwidefsky
Re: [PATCH] optimized ktime_get[_ts] for GENERIC_TIME=y
git
:
Junio C Hamano
Re: Some advanced index playing
Jeff King
Re: confusion over the new branch and merge config
Robin Rosenberg
Re: cvs2svn conversion directly to git ready for experimentation
Linus Torvalds
git binary size...
Ævar Arnfjörð Bjarmason
Re: Challenge with Git-Bash
git-commits-head
:
Linux Kernel Mailing List
md: move allocation of ->queue from mddev_find to md_probe
Linux Kernel Mailing List
md: raid0: Represent zone->zone_offset in sectors.
Linux Kernel Mailing List
[ARM] S3C24XX: Add gpio_to_irq() facility
Linux Kernel Mailing List
md: raid0_make_request(): Replace local variable block by sector.
Linux Kernel Mailing List
md: Allow md devices to be created by name.
linux-netdev
:
kaber
[PATCH 07/12] netfilter: xtables: change hotdrop pointer to direct modification
Gerrit Renker
[PATCH 3/5] dccp ccid-2: Remove redundant sanity tests
David Miller
Re: [PATCH net-next-2.6] pcnet32: Remove redundant set of skb->dev
Gerrit Renker
[PATCH 4/5] dccp ccid-2: Simplify dec_pipe and rearming of RTO timer
Saikiran Madugula
[PATCH] Allow fragmentation of VLAN packets traversing a bridge.
freebsd-current
:
Ryan Stone