disable demand paging on ANONYMOUS mappings unless anon_on_demand kernel argument is passed

This commit is contained in:
Balazs Gerofi
2015-09-14 17:26:37 +09:00
parent 69f4b0e1ad
commit e1a01803d0
3 changed files with 12 additions and 1 deletions

View File

@@ -66,4 +66,6 @@ static inline int page_is_multi_mapped(struct page *page)
return (ihk_atomic_read(&page->count) > 1);
}
/* Should we take page faults on ANONYMOUS mappings? */
extern int anon_on_demand;
#endif