From: Doug Ledford <dledford@redhat.com>
To: Andrew Morton <akpm@digeo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: balance_dirty_pages broken
Date: Thu, 17 Oct 2002 01:22:46 -0400 [thread overview]
Message-ID: <20021017052246.GB10276@redhat.com> (raw)
In-Reply-To: <3DAE4615.F98B6DE@digeo.com>
On Wed, Oct 16, 2002 at 10:09:41PM -0700, Andrew Morton wrote:
> Doug Ledford wrote:
> >
> > Actually, I don't know if it's balance_dirty_pages fault or some other
> > part of the kernel's fault, but it is broken here. Failure mode is that
> > balance_dirty_pages would loop forever. Reason it would loop forever is
> > because the ps struct had a negative entry for nr_dirty.
>
> I've seen one other report of this. Something has gone wrong
> with the page accounting. Could you please send me your
> .config and a description of what filesytems you're using?
Sure, coming under separate cover.
> err. ramdisk? initrd? If so, does this fix?
initrd. Will try booting without initrd and see if memcounts go back to
normal. On the current setup, when the thing locks up, Shift-ScrollLock
dumps the meminfo. Of interest here is the line right after the
Zone:HighMem line which reads:
( Active:1634 inactive:1603 dirty:4294966795 writeback:0 free:59222 )
Booting without initrd solves the lockup issue. It also clears up the
dirty count. So, initrd is what's corrupting things. I'll try the patch
and let you know if it solves the initrd corruption here in a sec.
>
>
> drivers/block/rd.c | 173 +++++++++++++++++++++++------------------------------
> fs/buffer.c | 18 +++--
> kernel/ksyms.c | 1
> 3 files changed, 90 insertions(+), 102 deletions(-)
--
Doug Ledford <dledford@redhat.com> 919-754-3700 x44233
Red Hat, Inc.
1801 Varsity Dr.
Raleigh, NC 27606
next prev parent reply other threads:[~2002-10-17 5:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-17 4:36 balance_dirty_pages broken Doug Ledford
2002-10-17 5:09 ` Andrew Morton
2002-10-17 5:22 ` Doug Ledford [this message]
2002-10-17 5:41 ` Doug Ledford
2002-10-17 5:54 ` Andrew Morton
2002-10-17 6:01 ` Doug Ledford
2002-10-17 6:09 ` Andrew Morton
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=20021017052246.GB10276@redhat.com \
--to=dledford@redhat.com \
--cc=akpm@digeo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox