mm: workingset: update description of the source file
authorYang Yang <yang.yang29@zte.com.cn>
Thu, 13 Apr 2023 08:34:49 +0000 (16:34 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:30:11 +0000 (16:30 -0700)
commited8f3f999e9270ccc542ac44e237e389a2687a9e
tree01870b2febf6ec91ecfedf47a9c1ad9d54de7786
parent1f6ab566cb3be9e8292e34b89e8be83d75aa232e
mm: workingset: update description of the source file

The calculation of workingset size is the core logic of handling refault,
it had been updated several times[1][2] after workingset.c was created[3].
But the description hadn't been updated accordingly, this mismatch may
confuse the readers.  So we update the description to make it consistent
to the code.

[1] commit 34e58cac6d8f ("mm: workingset: let cache workingset challenge anon")
[2] commit aae466b0052e ("mm/swap: implement workingset detection for anonymous LRU")
[3] commit a528910e12ec ("mm: thrash detection-based file cache sizing")

Link: https://lkml.kernel.org/r/202304131634494948454@zte.com.cn
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/workingset.c