From: Roger Larsson <roger.larsson@optronic.se>
To: "'quintela@fi.udc.es'" <quintela@fi.udc.es>
Cc: "'linux-mm@kvack.org'" <linux-mm@kvack.org>
Subject: Re: reduce shrink_mmap rate of failure (initial attempt)
Date: Wed, 7 Jun 2000 16:04:54 +0200 [thread overview]
Message-ID: <01BFD09A.CC430AF0@lando.optronic.se> (raw)
>That patch hangs my machine here when I run mmap002. The machine is
>in shrink_mmap. It hangs trying to get the pagmap_lru_lock.
>
>I think that the idea is good, but it doesn't work here :(.
>
>Later, Juan.
Ouch...
The only possible explaination is that we are searching for pages on a zone.
But no such pages are possible to free from LRU...
And we LOOP the list, holding the lru lock...
Note: without this patch you may end up in another bad situation where
shrink_mmap always fails and swapping will start until it swaps out a page
of that specific zone.
And without the test? We would free all other LRU pages without finding one
that we want :-(
This will be interesting to fix...
May the allocation of pages play a part? Filling zone after zone will give no
mix between the zones.
/RogerL
(from work)
--
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.eu.org/Linux-MM/
next reply other threads:[~2000-06-07 14:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-07 14:04 Roger Larsson [this message]
2000-06-07 14:35 ` reduce shrink_mmap rate of failure (initial attempt) Rik van Riel
2000-06-08 0:04 ` Roger Larsson
-- strict thread matches above, loose matches on Subject: below --
2000-06-06 23:49 Roger Larsson
2000-06-07 3:01 ` Quintela Carreira Juan J.
2000-06-07 13:22 ` Zlatko Calusic
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=01BFD09A.CC430AF0@lando.optronic.se \
--to=roger.larsson@optronic.se \
--cc=linux-mm@kvack.org \
--cc=quintela@fi.udc.es \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.