From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: Robin Holt <holt@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [Patch] alloc_large_system_hash printk overflow on 16TB boot.
Date: Mon, 4 Oct 2010 11:29:11 +0800 [thread overview]
Message-ID: <20101004032911.GD5189@cr0.nay.redhat.com> (raw)
In-Reply-To: <20101003132612.011159635@gulag1.americas.sgi.com>
On Sun, Oct 03, 2010 at 08:26:05AM -0500, Robin Holt wrote:
>During boot of a 16TB system, the following is printed:
>Dentry cache hash table entries: -2147483648 (order: 22, 17179869184 bytes)
>
>Signed-off-by: Robin Holt <holt@sgi.com>
>To: Andrew Morton <akpm@linux-foundation.org>
>Cc: lkml <linux-kernel@vger.kernel.org>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Thanks.
>
>---
>
> mm/page_alloc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>Index: pv1010934/mm/page_alloc.c
>===================================================================
>--- pv1010934.orig/mm/page_alloc.c 2010-10-01 10:27:07.000000000 -0500
>+++ pv1010934/mm/page_alloc.c 2010-10-03 07:53:13.551824924 -0500
>@@ -5182,9 +5182,9 @@ void *__init alloc_large_system_hash(con
> if (!table)
> panic("Failed to allocate %s hash table\n", tablename);
>
>- printk(KERN_INFO "%s hash table entries: %d (order: %d, %lu bytes)\n",
>+ printk(KERN_INFO "%s hash table entries: %ld (order: %d, %lu bytes)\n",
> tablename,
>- (1U << log2qty),
>+ (1UL << log2qty),
> ilog2(size) - PAGE_SHIFT,
> size);
>
>
>--
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2010-10-04 3:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20101003132604.459149164@gulag1.americas.sgi.com>
2010-10-03 13:26 ` Robin Holt
2010-10-04 3:29 ` Américo Wang [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=20101004032911.GD5189@cr0.nay.redhat.com \
--to=xiyou.wangcong@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=holt@sgi.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
Powered by JetHome