kernel/vm: Drop vm_page_num_available_pages.

Nothing uses it, and it isn't correct anyway: vm_page_num_free_pages()
now includes cached pages, too, while vm_available_memory() includes
not just available memory pages but also swap.
This commit is contained in:
Augustin Cavalier
2024-12-26 20:34:27 -05:00
parent a26220df71
commit 8bb382decf
2 changed files with 0 additions and 15 deletions
-1
View File
@@ -51,7 +51,6 @@ void vm_page_requeue(struct vm_page *page, bool tail);
// get some data about the number of pages in the system
page_num_t vm_page_num_pages(void);
page_num_t vm_page_num_free_pages(void);
page_num_t vm_page_num_available_pages(void);
page_num_t vm_page_num_unused_pages(void);
void vm_page_get_stats(system_info *info);
phys_addr_t vm_page_max_address();