mbox series

[0/2] mm: oom: terminate the oom_evaluate_task() loop early

Message ID 20230814063428.4111206-1-zhangpeng362@huawei.com (mailing list archive)
Headers show
Series mm: oom: terminate the oom_evaluate_task() loop early | expand

Message

Peng Zhang Aug. 14, 2023, 6:34 a.m. UTC
From: ZhangPeng <zhangpeng362@huawei.com>

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(-)