mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
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>
This commit is contained in:
parent
bf90ac198e
commit
0c1dcb0524
@ -22,7 +22,7 @@ static inline unsigned long vma_last_pgoff(struct vm_area_struct *v)
|
||||
|
||||
INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb,
|
||||
unsigned long, shared.rb_subtree_last,
|
||||
vma_start_pgoff, vma_last_pgoff,, vma_interval_tree)
|
||||
vma_start_pgoff, vma_last_pgoff, /* empty */, vma_interval_tree)
|
||||
|
||||
/* Insert node immediately after prev in the interval tree */
|
||||
void vma_interval_tree_insert_after(struct vm_area_struct *node,
|
||||
|
Loading…
Reference in New Issue
Block a user