diff options
Diffstat (limited to 'include/linux/oom.h')
-rw-r--r-- | include/linux/oom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/oom.h b/include/linux/oom.h index cf6ebf5b422c..e9081200cdb7 100644 --- a/include/linux/oom.h +++ b/include/linux/oom.h | |||
@@ -20,6 +20,9 @@ enum oom_constraint { | |||
20 | CONSTRAINT_MEMORY_POLICY, | 20 | CONSTRAINT_MEMORY_POLICY, |
21 | }; | 21 | }; |
22 | 22 | ||
23 | extern int try_set_zone_oom(struct zonelist *zonelist); | ||
24 | extern void clear_zonelist_oom(struct zonelist *zonelist); | ||
25 | |||
23 | extern void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, int order); | 26 | extern void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, int order); |
24 | extern int register_oom_notifier(struct notifier_block *nb); | 27 | extern int register_oom_notifier(struct notifier_block *nb); |
25 | extern int unregister_oom_notifier(struct notifier_block *nb); | 28 | extern int unregister_oom_notifier(struct notifier_block *nb); |