From: Jonathan Morton <chromi@cyberspace.org>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH] VM tuning patch, take 2
Date: Fri, 8 Jun 2001 03:35:46 +0100 [thread overview]
Message-ID: <l03130328b745e9637be5@[192.168.239.105]> (raw)
In-Reply-To: <Pine.LNX.4.21.0106072138030.1156-100000@freak.distro.conectiva>
>> Or have you just found a bug in your own code? :)
>
>Yes, my code is also broken.
>
>It should be:
>
> progress = try_to_free_pages(gfp_mask);
>
> if (!progress) {
> if (gfp_mask & __GFP_IO) {
> wakeup_kswapd(1);
> goto try_again;
> } else
> return NULL;
> } else
> goto try_again;
>
>
>Also note that my code makes non-zero order allocations loop like mad
>here. You may want to fix that, too.
Sorry, I don't have time to fix anything else today - I'm already pressed
for time on preparing a presentation for Philips Semiconductors (there's a
cash prize involved). Explanation: I'm studying Computer Systems
Engineering, so I get to do Electronics as well as Computing.
--------------------------------------------------------------
from: Jonathan "Chromatix" Morton
mail: chromi@cyberspace.org (not for attachments)
The key to knowledge is not to rely on people to teach you it.
GCS$/E/S dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
--
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/
next prev parent reply other threads:[~2001-06-08 2:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <l0313031fb74590aea499@[192.168.239.105]>
[not found] ` <3B1FED7C.4E483BCD@mandrakesoft.com>
2001-06-07 22:59 ` Jonathan Morton
2001-06-07 23:44 ` Marcelo Tosatti
2001-06-08 1:35 ` Jonathan Morton
2001-06-08 0:19 ` Marcelo Tosatti
2001-06-08 2:08 ` Jonathan Morton
2001-06-08 0:42 ` Marcelo Tosatti
2001-06-08 2:35 ` Jonathan Morton [this message]
2001-06-08 1:59 ` Ed Tomlinson
2001-06-09 3:30 ` Rik van Riel
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='l03130328b745e9637be5@[192.168.239.105]' \
--to=chromi@cyberspace.org \
--cc=linux-mm@kvack.org \
--cc=marcelo@conectiva.com.br \
/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