kernel, libroot: Add more memory info in system_info

system_info now contains all information previously available only
through __get_system_info_etc(B_MEMORY_INFO, ...).
This commit is contained in:
Pawel Dziepak
2013-12-16 04:53:46 +01:00
parent 1bc7045fdf
commit d02aaee17e
15 changed files with 55 additions and 106 deletions
+4 -3
View File
@@ -433,14 +433,15 @@ typedef struct {
uint64 max_pages; /* total # of accessible pages */
uint64 used_pages; /* # of accessible pages in use */
uint64 free_pages;
uint64 reserved_pages;
uint64 cached_pages;
uint64 block_cache_pages;
uint64 ignored_pages; /* # of ignored/inaccessible pages */
uint64 needed_memory;
uint64 free_memory;
uint64 max_swap_pages;
uint64 used_swap_pages;
uint64 free_swap_pages;
uint32 page_faults; /* # of page faults */