cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs arc.c dbuf.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Apr 13 18:50:05 UTC 2007


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 at 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


More information about the cvs-src mailing list