diff options
author | Andrew Morton <akpm@osdl.org> | 2004-08-01 20:11:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-01 20:11:57 -0700 |
commit | 5d87f5bda829d445021911e8fd526b113261f85e (patch) | |
tree | f1e6d7db7ebbdd05fef912e51df3ab83559fd6a2 /include | |
parent | 0e31581388fe87a240b849c9a21c32e8cddce9f5 (diff) | |
download | history-5d87f5bda829d445021911e8fd526b113261f85e.tar.gz |
[PATCH] oom-killer: call show_free_areas
Change the oom-killer so that it spits a sysrq-m output into the logs, and
shows the gfp_mask of the failing allocation attempt.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/swap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index b9edc335a56304..b081066b5f1139 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -148,7 +148,7 @@ struct swap_list_t { #define vm_swap_full() (nr_swap_pages*2 < total_swap_pages) /* linux/mm/oom_kill.c */ -extern void out_of_memory(void); +extern void out_of_memory(int gfp_mask); /* linux/mm/memory.c */ extern void swapin_readahead(swp_entry_t, unsigned long, struct vm_area_struct *); |