total swap bigger then 4GB

From: Eizenberg Ariel (arielez@cs.huji.ac.il)
Date: Mon Feb 28 2000 - 09:41:21 EST


The kernel stores total swap in an unsigned long variable (in the struct
sysinfo in kernel.h). If we have a total swap of more the 4GB, the value
overflows, and, for example, info displayed in /proc/meminfo is wrong
(actually it is the 32 least significant bits of the value).

Is there any way to overcome this problem?

-
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 : Tue Feb 29 2000 - 21:00:20 EST