]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'vm-cleanups' (unmap_vma() interface cleanup)
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 May 2012 15:37:07 +0000 (08:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 May 2012 15:37:07 +0000 (08:37 -0700)
commit34593bfa6a7937eac20d5dad04f5a0be26fe8cfc
tree97f2fc5fcfb543ffc1fa7d301f2e41a37e5e12f2
parent14e79b81c3755d152f97f37063ea84a01101bc27
parent025d9e8c8958d4d41c1d33b85416aebde8af443a
Merge branch 'vm-cleanups' (unmap_vma() interface cleanup)

This series sanitizes the interface to unmap_vma().  The crazy interface
annoyed me no end when I was looking at unmap_single_vma(), which we can
spend quite a lot of time in (especially with loads that have a lot of
small fork/exec's: shell scripts etc).

Moving the nr_accounted calculations to where they belong at least
clarifies things a little.  I hope to come back to look at the
performance of this later, but if/when I get back to it I at least don't
have to see the crazy interfaces any more.

* vm-cleanups:
  vm: remove 'nr_accounted' calculations from the unmap_vmas() interfaces
  vm: simplify unmap_vmas() calling convention