diff options
| author | Yang Shi <[email protected]> | 2022-06-16 10:48:36 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-17 17:14:32 -0700 |
| commit | f707fa493784b515ced01d4e261afe16fc784b5d (patch) | |
| tree | c036943c7d9f40adefdd2bb24b766a08d1190884 /tools/perf/scripts/python/bin | |
| parent | 4fa6893faeaaea4fe4440512d2a708527ef47051 (diff) | |
mm: khugepaged: better comments for anon vma check in hugepage_vma_revalidate
The hugepage_vma_revalidate() needs to check if the vma is still anonymous
vma or not since the address may be unmapped then remapped to file before
khugepaged reaquired the mmap_lock.
The old comment is not quite helpful, elaborate this with better comment.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yang Shi <[email protected]>
Reviewed-by: Zach O'Keefe <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Miaohe Lin <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions