projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3a899
)
mm/vmscan: remove obsolete comment in get_scan_count
author
Miaohe Lin
<linmiaohe@huawei.com>
Fri, 29 Apr 2022 06:16:04 +0000
(23:16 -0700)
committer
akpm
<akpm@linux-foundation.org>
Fri, 29 Apr 2022 06:16:04 +0000
(23:16 -0700)
Since commit
1431d4d11abb
("mm: base LRU balancing on an explicit cost
model"), the relative value of each set of LRU lists is based on cost
model instead of rotated/scanned ratio. Cleanup the relevant comment.
Link:
https://lkml.kernel.org/r/20220409030245.61211-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c
patch
|
blob
|
history
diff --git
a/mm/vmscan.c
b/mm/vmscan.c
index f6570f334a0532861f107d5e26626d23a4efa152..0e2f253949fe851fabe2f6f71b87b90ba19be9ef 100644
(file)
--- a/
mm/vmscan.c
+++ b/
mm/vmscan.c
@@
-2646,9
+2646,7
@@
enum scan_balance {
/*
* Determine how aggressively the anon and file LRU lists should be
- * scanned. The relative value of each set of LRU lists is determined
- * by looking at the fraction of the pages scanned we did rotate back
- * onto the active list instead of evict.
+ * scanned.
*
* nr[0] = anon inactive pages to scan; nr[1] = anon active pages to scan
* nr[2] = file inactive pages to scan; nr[3] = file active pages to scan