diff options
| author | Hugh Dickins <[email protected]> | 2021-07-07 20:06:17 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-07-11 22:05:15 +0000 |
| commit | 64b586d1922384710de2ce3c8c67e7ea0b6ffb57 (patch) | |
| tree | 714c3f3f14df62de8bddaf6a8c532ce72e85b58a /lib/string_helpers.c | |
| parent | Merge tag 'irq-urgent-2021-07-11' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
| download | kernel-64b586d1922384710de2ce3c8c67e7ea0b6ffb57.tar.gz kernel-64b586d1922384710de2ce3c8c67e7ea0b6ffb57.zip | |
mm/rmap: fix comments left over from recent changes
Parallel developments in mm/rmap.c have left behind some out-of-date
comments: try_to_migrate_one() also accepts TTU_SYNC (already commented
in try_to_migrate() itself), and try_to_migrate() returns nothing at
all.
TTU_SPLIT_FREEZE has just been deleted, so reword the comment about it
in mm/huge_memory.c; and TTU_IGNORE_ACCESS was removed in 5.11, so
delete the "recently referenced" comment from try_to_unmap_one() (once
upon a time the comment was near the removed codeblock, but they drifted
apart).
Signed-off-by: Hugh Dickins <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Reviewed-by: Alistair Popple <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Cc: Andrew Morton <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Ralph Campbell <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
