mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Al Boldi" <a1426z@gawab.com>
To: "'Marcelo Tosatti'" <marcelo.tosatti@cyclades.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Kswapd flaw
Date: Wed, 29 Jun 2005 07:53:14 +0300	[thread overview]
Message-ID: <200506290453.HAA14580@raad.intranet> (raw)
In-Reply-To: <20050628143932.GA14545@logos.cnet>

Marcelo wrote: {
On Tue, Jun 28, 2005 at 11:00:14PM +0300, Al Boldi wrote:
> Hi,
> I read Documentation/vm/overcommit-accounting, thank you!
> It's for 2.6. Values are 0,1,2. What is needed is 2.
> In 2.4 values are 0,1. What is needed is 0, which is default, which is 
> the problem.
> Kswapd overcommits anyway.
> Can this be fixed/adjusted?

Can you please try this

--- linux-2.4.30/mm/mmap.c.orig 2005-06-28 17:15:27.000000000 -0300
+++ linux-2.4.30/mm/mmap.c      2005-06-28 17:15:29.000000000 -0300
@@ -70,7 +70,7 @@
            return 1;

        /* The page cache contains buffer pages these days.. */
-       free = page_cache_size;
+//     free = page_cache_size;
        free += nr_free_pages();
        free += nr_swap_pages;

> CONFIG_OOM_KILLER does not disable/enable OOM-Killer.
> It merely selects a different style of killing.

What you mean? What happens if you disable CONFIG_OOM_KILLER?
}

1. Thanks for the patch pointer. Can someone work on this?

2 .You only need OOM-Killer if you overcommit.



       reply	other threads:[~2005-06-29  4:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050628143932.GA14545@logos.cnet>
2005-06-29  4:53 ` Al Boldi [this message]
     [not found] <4knRo-4Li-9@gated-at.bofh.it>
     [not found] ` <4koWT-5Iy-21@gated-at.bofh.it>
2005-06-28 14:28   ` Robert Hancock
2005-06-27 20:04 Al Boldi
2005-06-27 15:58 ` Marcelo Tosatti
2005-06-28  6:37   ` Al Boldi
2005-06-28  8:18     ` Michal Schmidt
2005-06-28  9:08       ` Al Boldi
2005-06-28  9:54         ` Michal Schmidt
2005-06-28 10:50     ` Nix
2005-06-28 11:47       ` Al Boldi
2005-06-28 12:50         ` Nix
2005-06-28 13:52           ` Al Boldi
2005-06-28 14:37             ` Nix
2005-06-28 15:35               ` Al Boldi
2005-06-28 16:25                 ` Nix
2005-06-28 18:15         ` Helge Hafting
2005-06-28 14:55     ` Paulo Marques
2005-06-28  9:58       ` Marcelo Tosatti
2005-06-28 16:43         ` Al Boldi

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=200506290453.HAA14580@raad.intranet \
    --to=a1426z@gawab.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /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

Powered by JetHome