From: ZhangPeng <zhangpeng362@xxxxxxxxxx> This patch series improves the performance of select_bad_process() by terminating the oom_evaluate_task() loop early (if points == LONG_MAX). ZhangPeng (2): mm: oom: remove unnecessary goto in oom_evaluate_task() mm: oom: terminate the oom_evaluate_task() loop early mm/oom_kill.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.25.1