harsh97 / compcache

Automatically exported from code.google.com/p/compcache
1 stars 0 forks source link

disksize should use u64 not size_t #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently if highmem64 is used and one has equal to or more than 4gb of
ram, disk sizes will overflow, including the test for 2 * totalram_bytes.
This has the effect of not only causing disksize to be restricted to 4gb
but printing out warnings that are not necessarily true. I'm sure this
applies to 32bit only but it still helps...

Original issue reported on code.google.com by jazzr...@gmail.com on 28 Feb 2010 at 6:23

GoogleCodeExporter commented 9 years ago
We now use u64 for disksize, memlimit and totalram_bytes (change ommitted to 
repository).

Thanks
Nitin

Original comment by nitingupta910@gmail.com on 11 May 2010 at 6:54

GoogleCodeExporter commented 9 years ago

Original comment by nitingupta910@gmail.com on 11 May 2010 at 6:54