Searched hist:"5 d7a7c54d3d7ff2f54725881dc7e06a7f5c94dc2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | vmalloc.c | diff 5d7a7c54d3d7ff2f54725881dc7e06a7f5c94dc2 Tue Jun 07 04:34:47 CDT 2022 Uladzislau Rezki (Sony) <urezki@gmail.com> mm/vmalloc: initialize VA's list node after unlink
A vmap_area can travel between different places. For example attached/detached to/from different rb-trees. In order to prevent fancy bugs, initialize a VA's list node after it is removed from the list, so it pairs with VA's rb_node which is also initialized.
There is no functional change as a result of this patch.
Link: https://lkml.kernel.org/r/20220607093449.3100-4-urezki@gmail.com Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Reviewed-by: Baoquan He <bhe@redhat.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Oleksiy Avramchenko <oleksiy.avramchenko@sony.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
|