From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Dave Peterson <dsp@llnl.gov>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
riel@surriel.com, akpm@osdl.org
Subject: Re: [PATCH 1/2] mm: serialize OOM kill operations
Date: Wed, 26 Apr 2006 14:10:55 +1000 [thread overview]
Message-ID: <444EF2CF.1020100@yahoo.com.au> (raw)
In-Reply-To: <200604251701.31899.dsp@llnl.gov>
Dave Peterson wrote:
>The patch below modifies the behavior of the OOM killer so that only
>one OOM kill operation can be in progress at a time. When running a
>test program that eats lots of memory, I was observing behavior where
>the OOM killer gets impatient and shoots one or more system daemons
>in addition to the program that is eating lots of memory. This fixes
>the problematic behavior.
>
Hi Dave,
Firstly why not use a semaphore and trylocks instead of your homebrew
lock?
Second, can you arrange it without using the extra field in mm_struct
and operation in the mmput fast path?
--
Send instant messages to your online friends http://au.messenger.yahoo.com
WARNING: multiple messages have this Message-ID (diff)
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Dave Peterson <dsp@llnl.gov>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
riel@surriel.com, akpm@osdl.org
Subject: Re: [PATCH 1/2] mm: serialize OOM kill operations
Date: Wed, 26 Apr 2006 14:10:55 +1000 [thread overview]
Message-ID: <444EF2CF.1020100@yahoo.com.au> (raw)
In-Reply-To: <200604251701.31899.dsp@llnl.gov>
Dave Peterson wrote:
>The patch below modifies the behavior of the OOM killer so that only
>one OOM kill operation can be in progress at a time. When running a
>test program that eats lots of memory, I was observing behavior where
>the OOM killer gets impatient and shoots one or more system daemons
>in addition to the program that is eating lots of memory. This fixes
>the problematic behavior.
>
Hi Dave,
Firstly why not use a semaphore and trylocks instead of your homebrew
lock?
Second, can you arrange it without using the extra field in mm_struct
and operation in the mmput fast path?
--
Send instant messages to your online friends http://au.messenger.yahoo.com
--
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-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2006-04-26 4:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-26 0:01 [PATCH 1/2] mm: serialize OOM kill operations Dave Peterson
2006-04-26 0:01 ` Dave Peterson
2006-04-26 4:10 ` Nick Piggin [this message]
2006-04-26 4:10 ` Nick Piggin
2006-04-26 17:14 ` Dave Peterson
2006-04-26 17:14 ` Dave Peterson
2006-04-27 3:33 ` Nick Piggin
2006-04-27 3:33 ` Nick Piggin
2006-04-27 16:56 ` Dave Peterson
2006-04-27 16:56 ` Dave Peterson
2006-04-28 5:00 ` Nick Piggin
2006-04-28 5:00 ` Nick Piggin
2006-04-28 5:05 ` Nick Piggin
2006-04-28 5:05 ` Nick Piggin
2006-04-26 4:46 ` Andi Kleen
2006-04-26 17:15 ` Dave Peterson
2006-04-26 18:05 ` Andi Kleen
2006-04-26 18:29 ` Dave Peterson
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=444EF2CF.1020100@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=akpm@osdl.org \
--cc=dsp@llnl.gov \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=riel@surriel.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 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.