linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: swap/memory patches
       [not found] <19981022210251.A948@kg1.ping.de>
@ 1998-10-22 20:03 ` Rik van Riel
  1998-10-23 10:20   ` Andrea Arcangeli
  0 siblings, 1 reply; 3+ messages in thread
From: Rik van Riel @ 1998-10-22 20:03 UTC (permalink / raw)
  To: Kurt Garloff; +Cc: Linux kernel list, Linux MM

On Thu, 22 Oct 1998, Kurt Garloff wrote:

> There have been quite some patches on MM/swap/OOM of Linux by you,
> Andrea and Stephen during the last time. Is there a final version?
> Are there recent (2.1.125+) patches for these problems? Did anything
> get into the kernel? 

There are no final versions and nothing got into the kernel.
Personally, I think Andrea's patch (minus the kswapd early
give-up) should go into the kernel now.

My part of the patch (OOM killing when kswapd can't cope
any more _and_ we're really out of memory) is running
well at a lot of people's places, but it really is an added
feature and we're in feature freeze right now.

This feature freeze means that I'm not going to drive Linus
crazy in order to include a feature, not even if 100 sysadmins
have asked me to. If you really really want it in you'll either
have to drive Linus crazy yourself or you'll have to apply the
patch to the kernel yourself -- I will make sure that it's
available...

> What I have in mind, when writing these lines, is:
> (1) cow-swapin: I often observed that after compiling a large C++ program
>     (which needs some swap), the shell keeps swapping something in on every
>     <Enter> keypress. This is cured by swapoff -a; swapon -a.
>     If I correctly understood, this is what cow-swapin was supposed to cure.

Wasn't this fixed -- Andrea, Stephen?

> (2) somebody claimed having found swap bugs
> (3) better oom behaviour
> 
> I consider (1) to be a serious bug. I don't know much about (2). (3) is
> obviously hard to solve cleanly.

Several people are running with my solution to (3)
in their kernel and have reported that it kills the
right task 9 out of 10 times. This indicates that
my patch is working rather good...

Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide.        H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader.      http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: swap/memory patches
  1998-10-22 20:03 ` swap/memory patches Rik van Riel
@ 1998-10-23 10:20   ` Andrea Arcangeli
  1998-10-26 14:44     ` Stephen C. Tweedie
  0 siblings, 1 reply; 3+ messages in thread
From: Andrea Arcangeli @ 1998-10-23 10:20 UTC (permalink / raw)
  To: Rik van Riel; +Cc: Kurt Garloff, Linux kernel list, Linux MM

On Thu, 22 Oct 1998, Rik van Riel wrote:

>> (1) cow-swapin: I often observed that after compiling a large C++ program
>>     (which needs some swap), the shell keeps swapping something in on every
>>     <Enter> keypress. This is cured by swapoff -a; swapon -a.
>>     If I correctly understood, this is what cow-swapin was supposed to cure.
>
>Wasn't this fixed -- Andrea, Stephen?

Just fixed in Linus's tree.

Andrea Arcangeli

--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: swap/memory patches
  1998-10-23 10:20   ` Andrea Arcangeli
@ 1998-10-26 14:44     ` Stephen C. Tweedie
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen C. Tweedie @ 1998-10-26 14:44 UTC (permalink / raw)
  To: Andrea Arcangeli
  Cc: Rik van Riel, Kurt Garloff, Linux kernel list, Linux MM, Stephen Tweedie

Hi,

In article <Pine.LNX.3.96.981023121950.1238B-100000@dragon.bogus>,
Andrea Arcangeli <andrea@e-mind.com> writes:

> On Thu, 22 Oct 1998, Rik van Riel wrote:
>>> (1) cow-swapin: I often observed that after compiling a large C++ program
>>> (which needs some swap), the shell keeps swapping something in on every
>>> <Enter> keypress. This is cured by swapoff -a; swapon -a.
>>> If I correctly understood, this is what cow-swapin was supposed to cure.
>> 
>> Wasn't this fixed -- Andrea, Stephen?

> Just fixed in Linus's tree.

Definitely should be!  The fix went in in 2.1.123, so if you can
reproduce the problem on any later kernel, we'd like to hear about it.

--Stephen
--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-10-26 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <19981022210251.A948@kg1.ping.de>
1998-10-22 20:03 ` swap/memory patches Rik van Riel
1998-10-23 10:20   ` Andrea Arcangeli
1998-10-26 14:44     ` Stephen C. Tweedie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox