linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Rohland <cr@sap.com>
To: Bob Matthews <bmatthews@redhat.com>
Cc: riel@nl.linux.org, johnsonm@redhat.com
Subject: Re: Hung kswapd (2.4.0-t11p5)
Date: 19 Nov 2000 15:34:42 +0100	[thread overview]
Message-ID: <m3n1ewyqrh.fsf@linux.local> (raw)
In-Reply-To: Bob Matthews's message of "Thu, 16 Nov 2000 18:33:46 -0500"

Hi Bob and Rik,

Bob Matthews <bmatthews@redhat.com> writes:

> kswapd itself appears to be stuck here:
> 
> (gdb) list *0xc01394c2
> 0xc01394c2 is in create_buffers (buffer.c:1240).
> 1235	
> 1236		/* 
> 1237		 * Set our state for sleeping, then check again for buffer heads.
> 1238		 * This ensures we won't miss a wake_up from an interrupt.
> 1239		 */
> 1240		wait_event(buffer_wait, nr_unused_buffer_heads >=
> MAX_BUF_PER_PAGE);
> 1241		goto try_again;
> 1242	}
> 1243	
> 1244	static int create_page_buffers(int rw, struct page *page, kdev_t
> dev, int b[], int size)

That's apparently exactly the same place shm swapping gets
stuck. Apparently we run out of buffer heads on highmem machines (I
actually believe that we can trigger the same on lowmem machines also,
only under much higher load wrt the machine size, but that's only a
guess)

Greetings
                Christoph


--
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.eu.org/Linux-MM/

      reply	other threads:[~2000-11-19 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-16 23:33 Bob Matthews
2000-11-19 14:34 ` Christoph Rohland [this message]

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=m3n1ewyqrh.fsf@linux.local \
    --to=cr@sap.com \
    --cc=bmatthews@redhat.com \
    --cc=johnsonm@redhat.com \
    --cc=riel@nl.linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox