mm/vmscan.c: refactor shrink_node()
mainline inclusion from mainline-v6.1-rc1 commit f1e1a7be category: feature bugzilla: https://gitee.com/openeuler/open-source-summer/issues/I55Z0L CVE: NA Reference: https://android-review.googlesource.com/c/kernel/common/+/2050908/10 ---------------------------------------------------------------------- This patch refactors shrink_node() to improve readability for the upcoming changes to mm/vmscan.c. Link: https://lore.kernel.org/r/20220309021230.721028-4-yuzhao@google.com/Signed-off-by: NYu Zhao <yuzhao@google.com> Reviewed-by: NBarry Song <baohua@kernel.org> Acked-by: NBrian Geffon <bgeffon@google.com> Acked-by: NJan Alexander Steffens (heftig) <heftig@archlinux.org> Acked-by: NOleksandr Natalenko <oleksandr@natalenko.name> Acked-by: NSteven Barrett <steven@liquorix.net> Acked-by: NSuleiman Souhlal <suleiman@google.com> Tested-by: NDaniel Byrne <djbyrne@mtu.edu> Tested-by: NDonald Carr <d@chaos-reins.com> Tested-by: NHolger Hoffstätte <holger@applied-asynchrony.com> Tested-by: NKonstantin Kharlamov <Hi-Angel@yandex.ru> Tested-by: NShuang Zhai <szhai2@cs.rochester.edu> Tested-by: NSofia Trinh <sofia.trinh@edi.works> Tested-by: NVaibhav Jain <vaibhav@linux.ibm.com> Bug: 227651406 Signed-off-by: NKalesh Singh <kaleshsingh@google.com> Change-Id: I186f43f946de0d40d54883fb31114840fc749a57 Signed-off-by: NYuLinjia <3110442349@qq.com>
Showing
想要评论请 注册 或 登录