From: Nikita Danilov <Nikita@Namesys.COM>
To: Andrew Morton <akpm@digeo.com>
Cc: Linux-Kernel@Vger.Kernel.ORG
Subject: Re: zone->nr_inactive race?
Date: Tue, 22 Apr 2003 10:43:34 +0400 [thread overview]
Message-ID: <16036.58518.467848.341356@laputa.namesys.com> (raw)
In-Reply-To: <20030421153449.69b494fc.akpm@digeo.com>
Andrew Morton writes:
> Nikita Danilov <Nikita@Namesys.COM> wrote:
> >
> > This fragment of refill_inactive_zone() looks strange:
> >
> > list_move(&page->lru, &zone->inactive_list);
> > if (!pagevec_add(&pvec, page)) {
> > spin_unlock_irq(&zone->lru_lock);
> > if (buffer_heads_over_limit)
> > pagevec_strip(&pvec);
> > __pagevec_release(&pvec);
> > spin_lock_irq(&zone->lru_lock);
> > }
> >
>
> Thanks, you're dead right. That's buggy.
>
> I am fairly surprised that you were able to hit this. How are you doing
> it? On a 1G machine with a teeny ZONE_HIGHMEM??
:)
Modester:
Dual Xeon, 2.20GHz with hyper threading.
512M of ram, but with CONFIG_HIGHMEM4G=y.
I am running
ftp://ftp.namesys.com/pub/namesys-utils/nfs_fh_stale.c
with
./nfs -p 41 -i 100000000 -B -L 22000000 -F sync=0 -s 0 -f 1000000000 -M 1000000000
on reiser4. Its on-disk working set stabilizes somewhere around 14G, and
it produces large amounts of ->writepage() traffic.
>
> I haven't tested this yet, but it should fix it up.
>
OK, I shall try.
Nikita.
prev parent reply other threads:[~2003-04-22 6:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-21 17:58 Nikita Danilov
2003-04-21 22:34 ` Andrew Morton
2003-04-22 6:43 ` Nikita Danilov [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=16036.58518.467848.341356@laputa.namesys.com \
--to=nikita@namesys.com \
--cc=Linux-Kernel@Vger.Kernel.ORG \
--cc=akpm@digeo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®