linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Roger Larsson <roger.larsson@optronic.se>
To: "'mikeg@weiden.de'" <mikeg@weiden.de>
Cc: "'linux-mm@kvack.org'" <linux-mm@kvack.org>
Subject: Re: kswapd eating too much CPU on ac16/ac18
Date: Fri, 16 Jun 2000 11:56:20 +0200	[thread overview]
Message-ID: <01BFD78B.22578410@lando.optronic.se> (raw)

Ohh,

This code was new at that time...

I have found out that most pages are not freed due to this check.
See "instrumentation patch for shrink_mmap to find cause of failures - it did :-)"

Please try to remove only this test to get a comparable result.
It might lead to infinite loops...

/RogerL

@@ -317,28 +326,34 @@
                        goto cache_unlock_continue;
 
                /*
+                * Page is from a zone we don't care about.
+                * Don't drop page cache entries in vain.
+                */
+               if (page->zone->free_pages > page->zone->pages_high)
+                       goto cache_unlock_continue;

--
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/

             reply	other threads:[~2000-06-16  9:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-16  9:56 Roger Larsson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-06-17 19:43 Cesar Eduardo Barros
2000-06-17 21:34 ` Roger Larsson
2000-06-13 23:51 Cesar Eduardo Barros
2000-06-14  0:00 ` Alan Cox
2000-06-14  0:10   ` Cesar Eduardo Barros
2000-06-16  5:45   ` Mike Galbraith
2000-06-16 15:08     ` Rik van Riel
2000-06-17  3:05       ` Cesar Eduardo Barros
2000-06-17  4:04         ` Mike Galbraith
2000-06-17 14:06           ` Cesar Eduardo Barros
2000-06-17 15:25             ` Mike Galbraith
2000-06-17 15:23           ` Rik van Riel
2000-06-17 15:33         ` Rik van Riel
2000-06-19 21:22           ` Goswin Brederlow
2000-06-18  6:26       ` Mike Galbraith

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=01BFD78B.22578410@lando.optronic.se \
    --to=roger.larsson@optronic.se \
    --cc=linux-mm@kvack.org \
    --cc=mikeg@weiden.de \
    /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