Displaying 2 results from an estimated 2 matches for "page_shrink_discards".
2007 Apr 18
1
[patch 8/9] Guest page hinting: discarded page list.
...tates.h 2006-09-01 12:50:25.000000000 +0200
+++ linux-2.6-patched/include/linux/page-states.h 2006-09-01 12:50:25.000000000 +0200
@@ -69,9 +69,13 @@
* - page_reset_writable:
* Resets the page state after the last writable page table entry
* refering to the page has been removed.
+ * - page_shrink_discards:
+ * Frees all pages that free_hot_cold_page has put on the list of
+ * discarded pages.
*/
extern void page_unmap_all(struct page *page);
extern void page_discard(struct page *page);
+extern unsigned long page_shrink_discards(void);
static inline int page_make_stable(struct page *pa...
2007 Apr 18
1
[patch 8/9] Guest page hinting: discarded page list.
...tates.h 2006-09-01 12:50:25.000000000 +0200
+++ linux-2.6-patched/include/linux/page-states.h 2006-09-01 12:50:25.000000000 +0200
@@ -69,9 +69,13 @@
* - page_reset_writable:
* Resets the page state after the last writable page table entry
* refering to the page has been removed.
+ * - page_shrink_discards:
+ * Frees all pages that free_hot_cold_page has put on the list of
+ * discarded pages.
*/
extern void page_unmap_all(struct page *page);
extern void page_discard(struct page *page);
+extern unsigned long page_shrink_discards(void);
static inline int page_make_stable(struct page *pa...