From: Rik van Riel <riel@conectiva.com.br>
To: Walter Hofmann <walter.hofmann@physik.stud.uni-erlangen.de>
Cc: Alan Cox <laughing@shared-source.org>, <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.5-ac15
Date: Wed, 20 Jun 2001 16:56:24 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.33.0106201654570.1376-100000@duckman.distro.conectiva> (raw)
In-Reply-To: <20010619232328.A19241@frodo.uni-erlangen.de>
On Tue, 19 Jun 2001, Walter Hofmann wrote:
> On Sun, 17 Jun 2001, Walter Hofmann wrote:
>
> > I had already two crashes with ac15. The system was still ping-able, but
> > login over the network didn't work anymore.
> >
> > The first crash happened after I started xosview and noticed that the
> > system almost used up the swap (for no apparent reason). The second
> > crash happened shortly after I started fsck on a crypto-loop device.
>
> FWIW, here is the vmstat output for the second (short) hang. Taken with
> ac14, vmstat 1 was started (long) before the hang and interrupted about
> five seconds after it. The machine has 128MB RAM and 256MB swap.
> procs memory swap io system cpu
> r b w swpd free buff cache si so bi bo in cs us sy id
> 1 0 0 77000 1464 18444 67324 8 0 152 224 386 1345 26 19 55
> 2 4 2 77084 1524 18396 66904 0 1876 108 2220 2464 66079 1 98 1
Does the following patch help with this problem, or are
you both experiencing something unrelated to this particular
buglet ?
regards,
Rik
--
Executive summary of a recent Microsoft press release:
"we are concerned about the GNU General Public License (GPL)"
http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com/
--- linux/mm/swapfile.c.~1~ Thu May 3 16:34:46 2001
+++ linux/mm/swapfile.c Thu May 3 16:36:07 2001
@@ -67,8 +67,14 @@
}
/* No luck, so now go finegrined as usual. -Andrea */
for (offset = si->lowest_bit; offset <= si->highest_bit ; offset++) {
- if (si->swap_map[offset])
+ if (si->swap_map[offset]) {
+ /* Any full pages we find we should avoid
+ * looking at next time. */
+ if (offset == si->lowest_bit)
+ si->lowest_bit++;
continue;
+ }
+
got_page:
if (offset == si->lowest_bit)
si->lowest_bit++;
@@ -79,6 +85,7 @@
si->cluster_next = offset+1;
return offset;
}
+ si->highest_bit = 0;
return 0;
}
next prev parent reply other threads:[~2001-06-20 19:56 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-15 22:06 Linux 2.4.5-ac15 Alan Cox
2001-06-16 16:48 ` Tom Vier
2001-06-17 18:11 ` Walter Hofmann
2001-06-19 9:19 ` Walter Hofmann
2001-06-20 19:25 ` Adam Sampson
2001-06-19 21:23 ` Walter Hofmann
2001-06-20 19:56 ` Rik van Riel [this message]
2001-06-21 15:22 ` Walter Hofmann
2001-06-21 4:35 ` Marcelo Tosatti
2001-06-21 6:56 ` Mike Galbraith
2001-06-21 5:44 ` Marcelo Tosatti
2001-06-21 8:10 ` Mike Galbraith
2001-06-21 13:14 ` Daniel Phillips
2001-06-21 19:50 ` Marcelo Tosatti
2001-06-22 0:32 ` Daniel Phillips
2001-06-22 9:06 ` Mike Galbraith
2001-06-22 9:57 ` Marcelo Tosatti
2001-06-22 11:50 ` Mike Galbraith
2001-06-22 14:08 ` Linux 2.4.5-ac15 / 2.4.6-pre5 Walter Hofmann
2001-06-22 15:50 ` Mike Galbraith
2001-06-22 17:27 ` Walter Hofmann
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=Pine.LNX.4.33.0106201654570.1376-100000@duckman.distro.conectiva \
--to=riel@conectiva.com.br \
--cc=laughing@shared-source.org \
--cc=linux-kernel@vger.kernel.org \
--cc=walter.hofmann@physik.stud.uni-erlangen.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;
as well as URLs for NNTP newsgroup(s).