diff options
| author | Takashi Iwai <tiwai@suse.de> | 2015-01-13 00:33:16 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2015-01-13 00:33:16 +0300 |
| commit | 7bfb8575b82cd1facde3dc5be2b125f408171646 (patch) | |
| tree | 9df1049fe7491df41efe02109b7192334881176c /include/linux/rmap.h | |
| parent | 6c869d301bda3f672f001e2c9fcb01685000fc83 (diff) | |
| parent | 61864d844c296933d40c02683252bbea5193b101 (diff) | |
| download | linux-7bfb8575b82cd1facde3dc5be2b125f408171646.tar.xz | |
Merge branch 'topic/line6' into for-next
Diffstat (limited to 'include/linux/rmap.h')
| -rw-r--r-- | include/linux/rmap.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h index c0c2bce6b0b7..d9d7e7e56352 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h @@ -37,6 +37,16 @@ struct anon_vma { atomic_t refcount; /* + * Count of child anon_vmas and VMAs which points to this anon_vma. + * + * This counter is used for making decision about reusing anon_vma + * instead of forking new one. See comments in function anon_vma_clone. + */ + unsigned degree; + + struct anon_vma *parent; /* Parent of this anon_vma */ + + /* * NOTE: the LSB of the rb_root.rb_node is set by * mm_take_all_locks() _after_ taking the above lock. So the * rb_root must only be read/written after taking the above lock |
