Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm/interval_tree: add comments to improve code readability

Add a comment explaining the value of the ISSTATIC parameter, Inform the
reader that this is not a coding style issue.

Link: https://lkml.kernel.org/r/1613964695-17614-1-git-send-email-daizhiyuan@phytium.com.cn
Signed-off-by: Zhiyuan Dai <daizhiyuan@phytium.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Zhiyuan Dai and committed by
Linus Torvalds
0c1dcb05 bf90ac19

+1 -1
+1 -1
mm/interval_tree.c
··· 22 22 23 23 INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb, 24 24 unsigned long, shared.rb_subtree_last, 25 - vma_start_pgoff, vma_last_pgoff,, vma_interval_tree) 25 + vma_start_pgoff, vma_last_pgoff, /* empty */, vma_interval_tree) 26 26 27 27 /* Insert node immediately after prev in the interval tree */ 28 28 void vma_interval_tree_insert_after(struct vm_area_struct *node,