Messages in this thread | | | Date | Sat, 10 Apr 2010 16:31:14 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmas of a mergeable VMA |
| |
On Sun, 11 Apr 2010, Johannes Weiner wrote: > > Did you have something in mind that I missed?
Mostly that the corner cases will never matter, and I'd prefer to keep the code simpler than to care deeply.
For example, the only case you'd see vm_ops->close() is for special device mappings. It's true that they cannot have their vma's merged, but it's also true that they (a) will seldom have anon_vma's anyway and (b) would never get mapped very many times so that anon_vma merging would be an issue.
In other words, it's a "don't care" situation, where to keep the code simpler we just document that we don't care.
Linus
| |