[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/45709: tmpfs size went nuts
The following reply was made to PR kern/45709; it has been noted by GNATS.
From: Taylor R Campbell <campbell+netbsd%mumble.net@localhost>
To: David Holland <dholland-bugs%netbsd.org@localhost>
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
Subject: Re: kern/45709: tmpfs size went nuts
Date: Sat, 17 Dec 2011 03:09:48 +0000
Date: Sat, 17 Dec 2011 03:00:06 +0000 (UTC)
From: David Holland <dholland-bugs%netbsd.org@localhost>
On Fri, Dec 16, 2011 at 11:00:10PM +0000, Taylor R Campbell wrote:
> Unlikely. I had two or three gigabytes of swap handy, and there was
> only about a gigabyte of RAM in use at the time, plus a few dozens of
> megabytes stored in the tmpfses. So there should have been four or
> five gigabytes of memory free, not ten to twenty megabytes.
So, something was truncating to 32 bits? :-/
Hmm, sounds plausible, particularly since I'm on i386. The
combination of size_t and uint64_t in tmpfs_bytes_max in tmpfs_subr.c
looks suspect, but it wouldn't surprise me if there were other
problems with this elsewhere in the system.
Main Index |
Thread Index |