From: Andrea Arcangeli <andrea@suse.de>
To: Ortiz Samuel <sambaufr@yahoo.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: nr_local_pages and local_pages
Date: Sat, 13 Oct 2001 00:55:26 +0200 [thread overview]
Message-ID: <20011013005526.G714@athlon.random> (raw)
In-Reply-To: <20011012224527.14338.qmail@web12707.mail.yahoo.com>
In-Reply-To: <20011012224527.14338.qmail@web12707.mail.yahoo.com>; from sambaufr@yahoo.fr on Sat, Oct 13, 2001 at 12:45:27AM +0200
On Sat, Oct 13, 2001 at 12:45:27AM +0200, Ortiz Samuel wrote:
> Hi Andrea !
>
>
>
>
>
>
>
> I spent some time reading the balance_classzone code,
> but there are still
>
>
> some stuff I can't get. The main ones are the meaning
> and use of the
>
>
> following fields in the task structure :
>
>
>
>
> - nr_local_pages
>
>
>
> - local_pages
>
> What are they for ? What do they mean ?
we're balancing memory synchronously because we need to recycle some
memory for ourself in order to succeed the allocation. Now if we succeed
in freeing some page we keep this page for ourself while we free the
next pages. So we work for ourself and not for somebody else. With the
"goto rebalance" this isn't required anymore to avoid failing
allocations, but still it should be good to provide better fariness, to
avoid somebody stuck freeing memory hard, and all other tasks eating the
free ram that such innocent task is producing in a starved loop.
Andrea
prev parent reply other threads:[~2001-10-12 22:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-12 22:45 nr_local_pages and local_pages Ortiz Samuel
2001-10-12 22:55 ` Andrea Arcangeli [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=20011013005526.G714@athlon.random \
--to=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sambaufr@yahoo.fr \
/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