bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #29206] /proc/meminfo says swap is full when it's not


From: Emilio Pozuelo Monfort
Subject: [bug #29206] /proc/meminfo says swap is full when it's not
Date: Tue, 25 May 2010 11:58:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux; en-gb; rv:1.9.0.2) Gecko/2008092313 Firefox/3.8

Follow-up Comment #2, bug #29206 (project hurd):

I successfully tested this patch:

diff -u -r1.1.2.5 procfs_nonpid_files.c
--- procfs_nonpid_files.c       12 Dec 2008 00:48:54 -0000      1.1.2.5
+++ procfs_nonpid_files.c       25 May 2010 11:57:14 -0000
@@ -412,8 +414,8 @@
         "HighFree:t%lu kBn" 
         "LowTotal:t%lu kBn" 
         "LowFree:t%lu kBn" 
-        "SwapTotal:t%lu kBn"
-        "SwapFree:t%lu kBn", 
+        "SwapTotal:t%lli kBn"
+        "SwapFree:t%lli kBn", 
          mem_size, (PAGES_TO_BYTES(vmstats.free_count)) / 1024 , 0, 0, 0, 
          (PAGES_TO_BYTES(vmstats.active_count)) / 1024, 
          (PAGES_TO_BYTES(vmstats.inactive_count)) / 1024, 0, 0, 0, 0, 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29206>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]