diff options
author | Namhoon Kim <namhoonk@cs.unc.edu> | 2016-09-29 15:05:48 -0400 |
---|---|---|
committer | Namhoon Kim <namhoonk@cs.unc.edu> | 2016-09-29 15:05:48 -0400 |
commit | 0e6a44a09800be09924707025646b3f3e3700306 (patch) | |
tree | cdfb12473efd82a6935e84b5225c17c54fcd4793 /mm/internal.h | |
parent | a75060efea2b2ce6e5bf8ab540c123de42395755 (diff) |
9/29/2016 find_get_page_readonly checks SCHED_LITMUS
Diffstat (limited to 'mm/internal.h')
-rw-r--r-- | mm/internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mm/internal.h b/mm/internal.h index a25e359a4039..ccc349b59d00 100644 --- a/mm/internal.h +++ b/mm/internal.h | |||
@@ -433,4 +433,14 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone, | |||
433 | #define ALLOC_CMA 0x80 /* allow allocations from CMA areas */ | 433 | #define ALLOC_CMA 0x80 /* allow allocations from CMA areas */ |
434 | #define ALLOC_FAIR 0x100 /* fair zone allocation */ | 434 | #define ALLOC_FAIR 0x100 /* fair zone allocation */ |
435 | 435 | ||
436 | extern int reclaim_replicated_page(struct address_space *mapping, | ||
437 | struct page *page); | ||
438 | extern struct page *find_get_page_readonly(struct address_space *mapping, | ||
439 | unsigned long offset); | ||
440 | extern int is_pcache_desc(void *ptr); | ||
441 | extern struct pcache_desc *ptr_to_pcache_desc(void *ptr); | ||
442 | extern void *pcache_desc_to_ptr(struct pcache_desc *pcd); | ||
443 | extern void unreplicate_pcache(struct address_space *mapping, unsigned long offset, int locked); | ||
444 | int page_write_fault_retry(struct page *page); | ||
445 | |||
436 | #endif /* __MM_INTERNAL_H */ | 446 | #endif /* __MM_INTERNAL_H */ |