From: Andrea Arcangeli <andrea@suse.de>
To: Ivan Stepnikov <iv@spylog.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel is unstable
Date: Thu, 1 Mar 2001 15:24:09 +0100 [thread overview]
Message-ID: <20010301152409.E32484@athlon.random> (raw)
In-Reply-To: <001701c0a230$40e12240$0e04a8c0@iv>
In-Reply-To: <001701c0a230$40e12240$0e04a8c0@iv>; from iv@spylog.com on Thu, Mar 01, 2001 at 12:16:08PM +0300
On Thu, Mar 01, 2001 at 12:16:08PM +0300, Ivan Stepnikov wrote:
> if(p==malloc(block)){
Side note: I guess here you meant:
if ((p = malloc(block)) {
Make sure you catch when malloc returns null because of out of memory (the out
of memory in your case happened in the NORMAL zone).
Still the fact it can deadlock the machine is a kernel bug in the memory
management. Probably the 3.5G patch per-task makes simpler to trigger it
because it decreases the size of the normal zone to a few houndred of mbytes.
Andrea
next prev parent reply other threads:[~2001-03-01 14:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-01 9:16 Kernel is unstable Ivan Stepnikov
2001-03-01 10:27 ` Matti Aarnio
2001-03-01 14:35 ` Andrea Arcangeli
2001-03-01 14:39 ` Andrea Arcangeli
2001-03-01 18:20 ` Alan Cox
2001-03-01 18:30 ` Andrea Arcangeli
2001-03-01 19:04 ` David S. Miller
2001-03-01 20:45 ` Andrea Arcangeli
2001-03-01 19:12 ` Linus Torvalds
2001-03-02 8:23 ` Christoph Rohland
2001-03-02 8:40 ` David Howells
2001-03-02 14:01 ` Andrea Arcangeli
2001-03-02 17:52 ` Linus Torvalds
2001-03-05 23:06 ` Chris Wedgwood
2001-03-01 13:39 ` Richard B. Johnson
2001-03-01 14:24 ` Andrea Arcangeli [this message]
2001-03-01 17:12 ` Ingo Oeser
-- strict thread matches above, loose matches on Subject: below --
2001-03-01 13:55 Heusden, Folkert van
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=20010301152409.E32484@athlon.random \
--to=andrea@suse.de \
--cc=iv@spylog.com \
--cc=linux-kernel@vger.kernel.org \
/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.