Date: Fri, 13 Apr 2007 18:50:04 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs arc.c dbuf.c Message-ID: <200704131850.l3DIo47w016954@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2007-04-13 18:50:03 UTC FreeBSD src repository Modified files: sys/contrib/opensolaris/uts/common/fs/zfs arc.c dbuf.c Log: Fix overflow, which was causing endless loops when 32bit machine had more than 2GB of RAM. This was because our physmem is long and 'physmem*PAGESIZE' can be negative for more than 2GB of memory. Reported by: Andrey V. Elsukov <bu7cher@yandex.ru> It is not yet tested by Andrey, so there can be other problems, but this was definiately a bug, so I'm committing a fix now. Revision Changes Path 1.8 +2 -2 src/sys/contrib/opensolaris/uts/common/fs/zfs/arc.c 1.2 +1 -1 src/sys/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704131850.l3DIo47w016954>