mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: kosaki.motohiro@jp.fujitsu.com,
	Keika Kobayashi <kobayashi.kk@ncos.nec.co.jp>,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH 1/4] per-task-delay-accounting: add memory reclaim delay
Date: Thu, 05 Jun 2008 09:50:48 +0900	[thread overview]
Message-ID: <20080605092451.9C1D.KOSAKI.MOTOHIRO@jp.fujitsu.com> (raw)
In-Reply-To: <4846D632.4030803@ct.jp.nec.com>

> >> +	delayacct_freepages_start();
> >>  	did_some_progress = try_to_free_pages(zonelist, order, gfp_mask);
> >> +	delayacct_freepages_end();
> > 
> > Shouldn't we consider memcgroup reclaim?
> 
> thanks for pointing this.
> Unfortunately, we're not so familiar to memcgroup.
> Will look into this.
> Could you tell us pointers to memcgroup?

Documentation/controllers/memory.txt is good guide :)

<abstract>
try_to_free_pages():	         global reclaim entry point
try_to_free_mem_cgroup_pages():  memcgroup reclaim entry point
do_try_to_free_pages():	         common layer


Unfortunately, I don't know your requirement and
memcgroup reclaim shold be mesured.
I hope you explain your purpose and benefit more.

Thanks.


  reply	other threads:[~2008-06-05  0:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04  2:38 Keika Kobayashi
2008-06-04  2:42 ` [PATCH 2/4] per-task-delay-accounting: update taskstats for memory Keika Kobayashi
2008-06-04  2:59   ` KOSAKI Motohiro
2008-06-04  3:20     ` [PATCH 2/4] per-task-delay-accounting: update taskstats for memory reclaim delay Keika Kobayashi
2008-06-04  2:44 ` [PATCH 3/4] per-task-delay-accounting: update document and getdelays.c for memory reclaim Keika Kobayashi
2008-06-04  2:46 ` [PATCH 4/4] per-task-delay-accounting: /proc export for memory reclaim delay Keika Kobayashi
2008-06-04  3:07   ` KOSAKI Motohiro
2008-06-04  4:11     ` Keika Kobayashi
2008-06-04  4:26       ` KOSAKI Motohiro
2008-06-04 17:47     ` Hiroshi Shimamoto
2008-06-04 22:41     ` Andrew Morton
2008-06-05  2:30       ` Keika Kobayashi
2008-06-04  3:00 ` [PATCH 1/4] per-task-delay-accounting: add " KOSAKI Motohiro
2008-06-04 17:51   ` Hiroshi Shimamoto
2008-06-05  0:50     ` KOSAKI Motohiro [this message]
2008-06-05 18:56       ` Hiroshi Shimamoto
2008-06-04  3:15 ` KOSAKI Motohiro
2008-06-04  3:40   ` Keika Kobayashi
2008-06-04  6:00 ` KAMEZAWA Hiroyuki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080605092451.9C1D.KOSAKI.MOTOHIRO@jp.fujitsu.com \
    --to=kosaki.motohiro@jp.fujitsu.com \
    --cc=akpm@linux-foundation.org \
    --cc=h-shimamoto@ct.jp.nec.com \
    --cc=kobayashi.kk@ncos.nec.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®