> + /* These are in units of PAGE_SIZE, but this interface
> + * has always returned bytes. Make it return bytes */
> + val.totalram*=PAGE_SIZE;
> + val.freeram*=PAGE_SIZE;
> + val.sharedram*=PAGE_SIZE;
> + val.bufferram*=PAGE_SIZE;
> + val.totalswap*=PAGE_SIZE;
> + val.freeswap*=PAGE_SIZE;
> + val.totalhigh*=PAGE_SIZE;
> + val.freehigh*=PAGE_SIZE;
Each of these may overflow a 32bit value
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:19 EST