Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm/workingset.c: fix some doc warnings

Fix following warnings caused by mismatch bewteen function parameters and
comments.

mm/workingset.c:228: warning: Function parameter or member 'lruvec' not described in 'workingset_age_nonresident'
mm/workingset.c:228: warning: Excess function parameter 'memcg' description in 'workingset_age_nonresident'

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/1600485913-11192-1-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Xiaofei Tan and committed by
Linus Torvalds
e755f4af 70b6d25e

+1 -1
+1 -1
mm/workingset.c
··· 216 216 217 217 /** 218 218 * workingset_age_nonresident - age non-resident entries as LRU ages 219 - * @memcg: the lruvec that was aged 219 + * @lruvec: the lruvec that was aged 220 220 * @nr_pages: the number of pages to count 221 221 * 222 222 * As in-memory pages are aged, non-resident pages need to be aged as