From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: "Uwe Kleine-König" <Uwe.Kleine-Koenig@digi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
linux-arch@vger.kernel.org
Subject: Re: regression: 2f569af (CONFIG_HIGHPTE vs. sub-page page tables.)
Date: Mon, 25 Feb 2008 17:56:22 +0100 [thread overview]
Message-ID: <1203958582.3247.3.camel@localhost> (raw)
In-Reply-To: <20080225132648.GA13791@digi.com>
On Mon, 2008-02-25 at 14:26 +0100, Uwe Kleine-König wrote:
> I see the following:
>
> / # for i in 1 2 3; do grep PageTables /proc/meminfo; done
> PageTables: 4 kB
> PageTables: 4294967292 kB
> PageTables: 4294967284 kB
>
> and I bisected it down to 2f569af (CONFIG_HIGHPTE vs. sub-page page
> tables.) This still happens in 2.6.25-rc3.
>
> I have not investigated further, so I cannot tell if it's only the
> output in meminfo that is broken.
>
> This is on ARCH=arm, on a Digi cc9p9360 with ns9xxx_defconfig.
Hmm, not good. The number obviously went negative. There is an imbalance
in the number of pgtable_page_ctor vs. pgtable_page_dtor. Could you try
this patch and watch for warnings?
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
---
diff --git a/include/asm-arm/pgalloc.h b/include/asm-arm/pgalloc.h
index 163b030..eeb973a 100644
--- a/include/asm-arm/pgalloc.h
+++ b/include/asm-arm/pgalloc.h
@@ -94,6 +94,7 @@ static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte)
static inline void pte_free(struct mm_struct *mm, pgtable_t pte)
{
+ WARN_ON(!pte);
pgtable_page_dtor(pte);
__free_page(pte);
}
next prev parent reply other threads:[~2008-02-25 16:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 13:26 regression: 2f569af (CONFIG_HIGHPTE vs. sub-page page tables.) Uwe Kleine-König
2008-02-25 13:38 ` Russell King
2008-02-25 15:32 ` Uwe Kleine-König
2008-02-25 15:45 ` let __dec_zone_page_state use __dec_zone_state Uwe Kleine-König
2008-02-27 19:10 ` Christoph Lameter
2008-02-29 7:45 ` Uwe Kleine-König
2008-02-29 19:32 ` Christoph Lameter
2008-02-25 16:56 ` Martin Schwidefsky [this message]
2008-02-26 14:38 ` regression: 2f569af (CONFIG_HIGHPTE vs. sub-page page tables.) Uwe Kleine-König
2008-02-26 17:57 ` Martin Schwidefsky
2008-02-26 19:49 ` Russell King
2008-02-27 12:44 ` Uwe Kleine-König
2008-02-27 14:21 ` Martin Schwidefsky
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=1203958582.3247.3.camel@localhost \
--to=schwidefsky@de.ibm.com \
--cc=Uwe.Kleine-Koenig@digi.com \
--cc=akpm@linux-foundation.org \
--cc=linux-arch@vger.kernel.org \
--cc=torvalds@linux-foundation.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.