diff options
| author | Liam R. Howlett <[email protected]> | 2023-09-29 14:30:41 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-18 14:34:15 -0700 |
| commit | 9a12d103f7d2d524f5e3d4358b9a9c03e4a9f1d2 (patch) | |
| tree | 0bfee90c804169b6fb5078a4f6c20ba09931f105 /tools/perf/scripts/python/bin | |
| parent | 651acf0ceb72903ff16fe31e52c1c448a0ca880c (diff) | |
mmap: add clarifying comment to vma_merge() code
When tracing through the code in vma_merge(), it was not completely
clear why the error return to a dup_anon_vma() call would not overwrite
a previous attempt to the same function. This commit adds a comment
specifying why it is safe.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Suggested-by: Jann Horn <[email protected]>
Link: https://lore.kernel.org/linux-mm/CAG48ez3iDwFPR=Ed1BfrNuyUJPMK_=StjxhUsCkL6po1s7bONg@mail.gmail.com/
Reviewed-by: Lorenzo Stoakes <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions