[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1626525439.20081219084910@emcraft.com>
Date: Fri, 19 Dec 2008 08:49:10 +0300
From: Yuri Tikhonov <yur@...raft.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: paulus@...ba.org, wd@...x.de, dzu@...x.de,
linux-kernel@...r.kernel.org, <miltonm@....com>,
<linuxppc-dev@...abs.org>, <viro@...iv.linux.org.uk>,
<Geert.Uytterhoeven@...ycom.com>, <yanok@...raft.com>,
Hugh Dickins <hugh@...itas.com>
Subject: Re[2]: [PATCH][v2] fork_init: fix division by zero
Hello Andrew,
On Friday, December 19, 2008 you wrote:
[snip]
>> There is one more warning from the common code when I use 256KB pages:
>>
>> CC mm/shmem.o
>> mm/shmem.c: In function 'shmem_truncate_range':
>> mm/shmem.c:613: warning: division by zero
>> mm/shmem.c:619: warning: division by zero
>> mm/shmem.c:644: warning: division by zero
>> mm/shmem.c: In function 'shmem_unuse_inode':
>> mm/shmem.c:873: warning: division by zero
>>
>> The problem here is that ENTRIES_PER_PAGEPAGE becomes 0x1.0000.0000
>> when PAGE_SIZE is 256K.
>>
>> How about the following fix ?
[snip]
> Looks sane.
Thanks for reviewing.
> But to apply this I'd prefer a changelog, a signoff and a grunt from Hugh.
Sure, I'll post this in the separate thread then; keeping Hugh in CC.
Regards, Yuri
--
Yuri Tikhonov, Senior Software Engineer
Emcraft Systems, www.emcraft.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists