use the NT5+ behavior of displaying the system cache size. fixes bug 856
Modified: trunk/reactos/subsys/system/taskmgr/perfdata.c
_____
Modified: trunk/reactos/subsys/system/taskmgr/perfdata.c
--- trunk/reactos/subsys/system/taskmgr/perfdata.c 2005-10-01
13:57:38 UTC (rev 18189)
+++ trunk/reactos/subsys/system/taskmgr/perfdata.c 2005-10-01
14:38:10 UTC (rev 18190)
@@ -806,15 +806,12 @@
EnterCriticalSection(&PerfDataCriticalSection);
- SystemCache = SystemCacheInfo.CurrentSize;
PageSize = SystemBasicInfo.PageSize;
+ SystemCache = SystemCacheInfo.CurrentSizeIncludingTransitionInPages
* PageSize;
LeaveCriticalSection(&PerfDataCriticalSection);
- /* SystemCache = SystemCache * (PageSize / 1024); */
- SystemCache = SystemCache / 1024;
-
- return SystemCache;
+ return SystemCache / 1024;
}
ULONG PerfDataGetSystemHandleCount(void)