Re: Re: Re: Re: [PATCH 9/13] memcg: lookup page cgroup (and remove pointer from struct page)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: kamezawa.hiroyu
Date: Monday, September 22, 2008 - 10:34 am

>On Tue, 2008-09-23 at 00:57 +0900, kamezawa.hiroyu@jp.fujitsu.com wrote:
Why I don't say "optimize this! now! more!" is where this is called is
limited now. only at charge/uncharge. This is not memmap.

 charge     ...the first page fault to the page
                  add to radix-tree
 uncharge   ...the last unmap aginst the page
                  remove from radix-tree.

I can make this faster by using charactoristics of FLATMEM and others.
(with more #ifdefs and codes.)
But would like to start from generic one because adding interface is
the first thing I have to do here.

BTW, to be honest, I don't like 2-level-table-lookup like
SPARSEMEM_EXTREME, here. A style like SPARSEMEM_VMEMMAP...using 
linear virtual address map will be goal of mine.

Thanks,
-Kame
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/13] memory cgroup updates v4, KAMEZAWA Hiroyuki, (Mon Sep 22, 3:51 am)
[PATCH 1/13] memcg: avoid accounting special mapping, KAMEZAWA Hiroyuki, (Mon Sep 22, 3:55 am)
[PATCH 2/13] memcg: account fault-in swap under lock., KAMEZAWA Hiroyuki, (Mon Sep 22, 3:57 am)
[PATCH 3/13] memcg: nolimit root cgroup, KAMEZAWA Hiroyuki, (Mon Sep 22, 3:58 am)
[PATCH 4/13] memcg: force_empty moving account, KAMEZAWA Hiroyuki, (Mon Sep 22, 4:00 am)
[PATCH 5/13] memcg: cleanup to make mapping null before un ..., KAMEZAWA Hiroyuki, (Mon Sep 22, 4:02 am)
[PATCH 6/13] memcg: optimze per cpu accounting for memcg, KAMEZAWA Hiroyuki, (Mon Sep 22, 4:03 am)
[PATCH 3.5/13] memcg: make page_cgroup flags to be atomic, KAMEZAWA Hiroyuki, (Mon Sep 22, 4:05 am)
[PATCH 3.6/13] memcg: add function to move account., KAMEZAWA Hiroyuki, (Mon Sep 22, 4:09 am)
[PATCH 9/13] memcg: lookup page cgroup (and remove pointer ..., KAMEZAWA Hiroyuki, (Mon Sep 22, 4:12 am)
[PATCH 10/13] memcg: page_cgroup look aside table, KAMEZAWA Hiroyuki, (Mon Sep 22, 4:13 am)
[PATCH 11/13] memcg: lazy LRU free (NEW), KAMEZAWA Hiroyuki, (Mon Sep 22, 4:17 am)
[PATCH 12/13] memcg: lazy LRU add, KAMEZAWA Hiroyuki, (Mon Sep 22, 4:22 am)
[PATCH 13/13] memcg: swap accounting fix, KAMEZAWA Hiroyuki, (Mon Sep 22, 4:24 am)
Re: [PATCH 0/13] memory cgroup updates v4, KAMEZAWA Hiroyuki, (Mon Sep 22, 4:28 am)
Re: [PATCH 4/13] memcg: force_empty moving account, Peter Zijlstra, (Mon Sep 22, 7:23 am)
Re: Re: [PATCH 4/13] memcg: force_empty moving account, kamezawa.hiroyu, (Mon Sep 22, 7:50 am)
Re: Re: [PATCH 4/13] memcg: force_empty moving account, Peter Zijlstra, (Mon Sep 22, 7:56 am)
Re: Re: Re: [PATCH 4/13] memcg: force_empty moving account, kamezawa.hiroyu, (Mon Sep 22, 8:06 am)
Re: Re: Re: [PATCH 4/13] memcg: force_empty moving account, Peter Zijlstra, (Mon Sep 22, 8:32 am)
Re: Re: Re: Re: [PATCH 9/13] memcg: lookup page cgroup (an ..., kamezawa.hiroyu, (Mon Sep 22, 10:34 am)
Re: [PATCH 9/13] memcg: lookup page cgroup (and remove poi ..., KAMEZAWA Hiroyuki, (Tue Sep 23, 4:48 pm)
Re: [PATCH 9/13] memcg: lookup page cgroup (and remove poi ..., KAMEZAWA Hiroyuki, (Tue Sep 23, 8:09 pm)
Re: [PATCH 3.6/13] memcg: add function to move account., Daisuke Nishimura, (Tue Sep 23, 11:50 pm)
Re: [PATCH 3.6/13] memcg: add function to move account., KAMEZAWA Hiroyuki, (Wed Sep 24, 12:11 am)
Re: [PATCH 9/13] memcg: lookup page cgroup (and remove poi ..., KAMEZAWA Hiroyuki, (Wed Sep 24, 1:46 am)