* nr_local_pages and local_pages
@ 2001-10-12 22:45 Ortiz Samuel
2001-10-12 22:55 ` Andrea Arcangeli
0 siblings, 1 reply; 2+ messages in thread
From: Ortiz Samuel @ 2001-10-12 22:45 UTC (permalink / raw)
To: andrea; +Cc: linux-kernel
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 ?
Thanks in advance for your answers.
Regards,
Samuel.
___________________________________________________________
Un nouveau Nokia Game commence.
Allez sur http://fr.yahoo.com/nokiagame avant le 3 novembre
pour participer à cette aventure tous médias.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nr_local_pages and local_pages
2001-10-12 22:45 nr_local_pages and local_pages Ortiz Samuel
@ 2001-10-12 22:55 ` Andrea Arcangeli
0 siblings, 0 replies; 2+ messages in thread
From: Andrea Arcangeli @ 2001-10-12 22:55 UTC (permalink / raw)
To: Ortiz Samuel; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-12 22:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-12 22:45 nr_local_pages and local_pages Ortiz Samuel
2001-10-12 22:55 ` Andrea Arcangeli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox