X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Foom.h;h=4952fb874ad3dadd631b3e10f0ae35eb0df59135;hb=1486a7409b42ec434be310e091ef68660a2f6cd0;hp=5e3aa8311c5ed40f2598ccd814162bef5173030e;hpb=61f953cbaae26f930b8d937366270547e08c1290;p=pandora-kernel.git diff --git a/include/linux/oom.h b/include/linux/oom.h index 5e3aa8311c5e..4952fb874ad3 100644 --- a/include/linux/oom.h +++ b/include/linux/oom.h @@ -40,6 +40,8 @@ enum oom_constraint { CONSTRAINT_MEMCG, }; +extern int test_set_oom_score_adj(int new_val); + extern unsigned int oom_badness(struct task_struct *p, struct mem_cgroup *mem, const nodemask_t *nodemask, unsigned long totalpages); extern int try_set_zonelist_oom(struct zonelist *zonelist, gfp_t gfp_flags);