diff options
author | 2023-09-29 14:30:41 -0400 | |
---|---|---|
committer | 2023-10-18 14:34:15 -0700 | |
commit | 9a12d103f7d2d524f5e3d4358b9a9c03e4a9f1d2 (patch) | |
tree | 0bfee90c804169b6fb5078a4f6c20ba09931f105 /mm/page_alloc.c | |
parent | Documentation: *san: drop "the" from article titles (diff) | |
download | wireguard-linux-9a12d103f7d2d524f5e3d4358b9a9c03e4a9f1d2.tar.xz wireguard-linux-9a12d103f7d2d524f5e3d4358b9a9c03e4a9f1d2.zip |
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/20230929183041.2835469-4-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Suggested-by: Jann Horn <jannh@google.com>
Link: https://lore.kernel.org/linux-mm/CAG48ez3iDwFPR=Ed1BfrNuyUJPMK_=StjxhUsCkL6po1s7bONg@mail.gmail.com/
Reviewed-by: Lorenzo Stoakes <lstoakes@gmail.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions