TO RESET: Add kernel argument to toggle on-demand paging for hugetlbfs map

Change-Id: Id748e0a2afc4ea59142fedb652a15b4007c5dee4
This commit is contained in:
Masamichi Takagi
2020-12-10 15:45:58 +09:00
parent ed923ac82f
commit 3949ab65a8
3 changed files with 14 additions and 1 deletions

View File

@@ -69,4 +69,7 @@ static inline int page_is_multi_mapped(struct page *page)
/* Should we take page faults on ANONYMOUS mappings? */
extern int anon_on_demand;
#ifdef ENABLE_FUGAKU_HACKS
extern int hugetlbfs_on_demand;
#endif
#endif