diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 9d65ae4ba0e0..849b4a61bd8f 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -1331,11 +1331,17 @@ extern int account_locked_memory(struct mm_struct *mm, struct rlimit *rlim, | |||
1331 | size_t size); | 1331 | size_t size); |
1332 | extern void refund_locked_memory(struct mm_struct *mm, size_t size); | 1332 | extern void refund_locked_memory(struct mm_struct *mm, size_t size); |
1333 | 1333 | ||
1334 | enum mf_flags { | ||
1335 | MF_COUNT_INCREASED = 1 << 0, | ||
1336 | }; | ||
1334 | extern void memory_failure(unsigned long pfn, int trapno); | 1337 | extern void memory_failure(unsigned long pfn, int trapno); |
1335 | extern int __memory_failure(unsigned long pfn, int trapno, int ref); | 1338 | extern int __memory_failure(unsigned long pfn, int trapno, int flags); |
1339 | extern int unpoison_memory(unsigned long pfn); | ||
1336 | extern int sysctl_memory_failure_early_kill; | 1340 | extern int sysctl_memory_failure_early_kill; |
1337 | extern int sysctl_memory_failure_recovery; | 1341 | extern int sysctl_memory_failure_recovery; |
1342 | extern void shake_page(struct page *p, int access); | ||
1338 | extern atomic_long_t mce_bad_pages; | 1343 | extern atomic_long_t mce_bad_pages; |
1344 | extern int soft_offline_page(struct page *page, int flags); | ||
1339 | 1345 | ||
1340 | #endif /* __KERNEL__ */ | 1346 | #endif /* __KERNEL__ */ |
1341 | #endif /* _LINUX_MM_H */ | 1347 | #endif /* _LINUX_MM_H */ |