From: "KOSAKI Motohiro" <kosaki.motohiro@jp.fujitsu.com>
To: "minchan Kim" <barrioskmc@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
linux-mm <linux-mm@kvack.org>,
"Andrew Morton" <akpm@linux-foundation.org>
Subject: Re: [-mm][PATCH 3/5] change function prototype of shrink_zone()
Date: Mon, 5 May 2008 17:31:27 +0900 [thread overview]
Message-ID: <2f11576a0805050131k6df2c0d6r93edb4893ad655b9@mail.gmail.com> (raw)
In-Reply-To: <44c63dc40805042142k2e5bc366mffa9e0a22fbe94c9@mail.gmail.com>
Hi
> > + sc->nr_reclaimed += nr_reclaimed;
> > throttle_vm_writeout(sc->gfp_mask);
> > - return nr_reclaimed;
> > + return 0;
> > }
>
> I am not sure this is right.
> I might be wrong if this patch is depended on another patch.
>
> As I see, shrink_zone always return 0 in your patch.
Yeah, this patch is just preparetion change of [4/5].
I use EAGAIN at [4/5].
> If it is right, I think that return value is useless. It is better
> that we change function return type to "void"
> Also, we have to change functions that call shrink_zone properly. ex)
> balance_pgdat, __zone_reclaim
> That functions still use number of shrink_zone's reclaim page
this patch is not intent by solo usage.
just intent to bisect friendly.
thus, We need implement that following patch use freature only.
Thanks!
next prev parent reply other threads:[~2008-05-05 8:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-04 12:53 [-mm][PATCH 0/5] mm: page reclaim throttle v6 KOSAKI Motohiro
2008-05-04 12:55 ` [-mm][PATCH 1/5] fix overflow problem of do_try_to_free_page() KOSAKI Motohiro
2008-05-05 8:12 ` Nishanth Aravamudan
2008-05-06 3:29 ` KOSAKI Motohiro
2008-05-04 12:57 ` [-mm][PATCH 2/5] introduce get_vm_event() KOSAKI Motohiro
2008-05-05 21:47 ` Rik van Riel
2008-05-04 12:58 ` [-mm][PATCH 3/5] change function prototype of shrink_zone() KOSAKI Motohiro
2008-05-05 4:42 ` minchan Kim
2008-05-05 8:31 ` KOSAKI Motohiro [this message]
2008-05-05 8:37 ` minchan Kim
2008-05-04 12:59 ` [-mm][PATCH 4/5] core of reclaim throttle KOSAKI Motohiro
2008-05-04 13:12 ` KOSAKI Motohiro
2008-05-05 5:21 ` minchan Kim
2008-05-05 8:24 ` KOSAKI Motohiro
2008-05-05 8:32 ` minchan Kim
2008-05-05 21:51 ` Rik van Riel
2008-05-05 22:23 ` KOSAKI Motohiro
2008-05-06 0:43 ` Rik van Riel
2008-05-06 1:01 ` KOSAKI Motohiro
2008-05-04 13:01 ` [-mm][PATCH 5/5] introduce sysctl parameter of max task of throttle KOSAKI Motohiro
2008-05-04 14:38 ` [-mm][PATCH 0/5] mm: page reclaim throttle v6 KOSAKI Motohiro
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=2f11576a0805050131k6df2c0d6r93edb4893ad655b9@mail.gmail.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=barrioskmc@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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®