From: Hugh Dickins <hugh@veritas.com>
To: Abhishek Nayani <abhi@kernelnewbies.org>
Cc: linux-mm@kvack.org
Subject: Re: working of balance_classzone()
Date: Sun, 19 May 2002 13:29:28 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.21.0205191314520.9780-100000@localhost.localdomain> (raw)
In-Reply-To: <20020519085840.GA3660@SandStorm.net>
On Sun, 19 May 2002, Abhishek Nayani wrote:
>
> So the code in balance_classzone() looks very suspicious as it
> is acting as if there were many blocks of free pages of different orders
> on the list and we are trying to get the block of the correct order and
> then freeing the rest in reverse order....
>
> Since there is only one block, we can cut the code to just check
> the order of that block, if its greater than our requirement, call
> rmqueue() else return NULL.
The code hereabouts has been marooned for many releases, somewhere
in between what Andrea intended and what Linus wanted. You're right
that there's a (harmless) mismatch between what __free_pages_ok is
actually doing, and what balance_classzone is expecting it to do.
But that should get sorted out when Andrea's further VM patches are
merged into 2.4.20... (always seems to be around the next corner).
Hugh
--
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/
prev parent reply other threads:[~2002-05-19 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-19 8:58 Abhishek Nayani
2002-05-19 12:29 ` Hugh Dickins [this message]
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=Pine.LNX.4.21.0205191314520.9780-100000@localhost.localdomain \
--to=hugh@veritas.com \
--cc=abhi@kernelnewbies.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