linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mm: oom: terminate the oom_evaluate_task() loop early
@ 2023-08-14  6:34 Peng Zhang
  2023-08-14  6:34 ` [PATCH 1/2] mm: oom: remove unnecessary goto in oom_evaluate_task() Peng Zhang
  2023-08-14  6:34 ` [PATCH 2/2] mm: oom: terminate the oom_evaluate_task() loop early Peng Zhang
  0 siblings, 2 replies; 7+ messages in thread
From: Peng Zhang @ 2023-08-14  6:34 UTC (permalink / raw)
  To: linux-mm; +Cc: mhocko, shakeelb, akpm, wangkefeng.wang, sunnanyong, ZhangPeng

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

-- 
2.25.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-16  8:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14  6:34 [PATCH 0/2] mm: oom: terminate the oom_evaluate_task() loop early Peng Zhang
2023-08-14  6:34 ` [PATCH 1/2] mm: oom: remove unnecessary goto in oom_evaluate_task() Peng Zhang
2023-08-16  6:46   ` Michal Hocko
2023-08-16  8:56     ` zhangpeng (AS)
2023-08-14  6:34 ` [PATCH 2/2] mm: oom: terminate the oom_evaluate_task() loop early Peng Zhang
2023-08-16  6:48   ` Michal Hocko
2023-08-16  8:57     ` zhangpeng (AS)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).