summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiwu Chen <qiwuchen55@gmail.com>2020-05-07 18:36:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-05-07 19:27:21 -0700
commit17e34526f0a8f81a214d1ee6f7d8ad2a9c9bae33 (patch)
treedcec89e5f0b55adde372030583e45ba9bc7ead7f
parent412895f03cbf9633298111cb4dfde13b7720e2c5 (diff)
mm/vmscan: remove unnecessary argument description of isolate_lru_pages()
Since commit a9e7c39fa9fd9 ("mm/vmscan.c: remove 7th argument of isolate_lru_pages()"), the explanation of 'mode' argument has been unnecessary. Let's remove it. Signed-off-by: Qiwu Chen <chenqiwu@xiaomi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20200501090346.2894-1-chenqiwu@xiaomi.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/vmscan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index b06868fc4926..a37c87b5aee2 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1625,7 +1625,6 @@ static __always_inline void update_lru_sizes(struct lruvec *lruvec,
* @dst: The temp list to put pages on to.
* @nr_scanned: The number of pages that were scanned.
* @sc: The scan_control struct for this reclaim session
- * @mode: One of the LRU isolation modes
* @lru: LRU list id for isolating
*
* returns how many pages were moved onto *@dst.