lkml.org 
[lkml]   [1999]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] highmem /proc/*/statm fix (2.3.26)
This patch fixes a bug inserted with the highmem pgtable breakage.

Against 2.3.26:

--- 2.3.26/fs/proc/array.c Sun Nov 7 17:33:37 1999
+++ /tmp/array.c Tue Nov 9 23:39:13 1999
@@ -813,9 +813,9 @@
++*pages;
if (pte_dirty(page))
++*dirty;
- if (MAP_NR(pte_page(page)) >= max_mapnr)
+ if (pte_pagenr(page) >= max_mapnr)
continue;
- if (page_count(mem_map + MAP_NR(pte_page(page))) > 1)
+ if (page_count(pte_page(page)) > 1)
++*shared;
} while (address < end);
}
Andrea


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.059 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site