lkml.org 
[lkml]   [2010]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[Patch] alloc_large_system_hash printk overflow on 16TB boot.
    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>

    ---

    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);



    \
     
     \ /
      Last update: 2010-10-03 23:01    [W:0.020 / U:29.680 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site