mm/vmscan: extract calculated pressure balance as a function
authorHao Zhang <zhanghao1@kylinos.cn>
Wed, 15 Jan 2025 01:58:29 +0000 (09:58 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Mar 2025 05:06:01 +0000 (22:06 -0700)
commit350dce38eb6e221cca16940f3bd8d9947364f1ca
treef7da0c56973dbbb059a8ac1e89bbd8cd0a3b4896
parentb8932ca8b9244839b263786c69d57ed05c0d96ec
mm/vmscan: extract calculated pressure balance as a function

Extract pressure balance calculation into a function.This doesn't change
current behaviour.

[akpm@linux-foundation.org: 80-col wrapping]
Link: https://lkml.kernel.org/r/tencent_735DB36A2306C08B8568049E4C0B99716C07@qq.com
Signed-off-by: Hao Zhang <zhanghao1@kylinos.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c