Re: [PATCH] Fix /proc/meminfo and /proc/swaps for 4GB

2011-05-12 Thread Corinna Vinschen
On May 11 22:58, Yaakov (Cygwin/X) wrote: On Mon, 2011-05-09 at 09:55 +0200, Corinna Vinschen wrote: I'm not sure I understand this new format. Why do you keep the Mem: and Swap: lines? Linux doesn't have them and top appears to work without them. And then, why do you print MemShared,

Re: [PATCH] Fix /proc/meminfo and /proc/swaps for 4GB

2011-05-11 Thread Yaakov (Cygwin/X)
On Mon, 2011-05-09 at 09:55 +0200, Corinna Vinschen wrote: I'm not sure I understand this new format. Why do you keep the Mem: and Swap: lines? Linux doesn't have them and top appears to work without them. And then, why do you print MemShared, HighTotal, and HighFree, even though they are

Re: [PATCH] Fix /proc/meminfo and /proc/swaps for 4GB

2011-05-09 Thread Corinna Vinschen
Hi Yaakov, On May 6 14:03, Yaakov (Cygwin/X) wrote: As promised, this patch ports the /proc/meminfo code to use sysinfo(2), and fixes the case where RAM or swap space totals more than 4GB. It also fixes the /proc/swaps code for paging files larger than 4GB. For example: $ cat

[PATCH] Fix /proc/meminfo and /proc/swaps for 4GB

2011-05-06 Thread Yaakov (Cygwin/X)
As promised, this patch ports the /proc/meminfo code to use sysinfo(2), and fixes the case where RAM or swap space totals more than 4GB. It also fixes the /proc/swaps code for paging files larger than 4GB. For example: $ cat /proc/meminfo total: used: free: Mem: