[Devel] [PATCH RHEL7 COMMIT] oom: zap oom_report_invocation proto

Vladimir Davydov vdavydov at odin.com
Mon Sep 7 03:15:44 PDT 2015


The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.6.7
------>
commit 4222efe1eb32129c88f20ee29f3c7d713b640e98
Author: Vladimir Davydov <vdavydov at parallels.com>
Date:   Mon Sep 7 14:15:44 2015 +0400

    oom: zap oom_report_invocation proto
    
    It is unused.
    
    Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
    Reviewed-by: Kirill Tkhai <ktkhai at odin.com>
---
 include/linux/oom.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/oom.h b/include/linux/oom.h
index 17100d02e8d3..a751de7efb18 100644
--- a/include/linux/oom.h
+++ b/include/linux/oom.h
@@ -88,9 +88,6 @@ static inline void oom_killer_enable(void)
 
 extern struct task_struct *find_lock_task_mm(struct task_struct *p);
 
-void oom_report_invocation(char *type, struct user_beancounter *ub,
-		gfp_t gfp_mask, int order);
-
 /* sysctls */
 extern int sysctl_oom_dump_tasks;
 extern int sysctl_oom_kill_allocating_task;



More information about the Devel mailing list