Messages in this thread | | | Subject | Re: [PATCH 0/3] mm,vdso: preallocate new vmas | From | Davidlohr Bueso <> | Date | Mon, 04 Nov 2013 16:39:14 -0800 |
| |
Hi Andrew -
On Thu, 2013-10-17 at 17:50 -0700, Davidlohr Bueso wrote: > Linus recently pointed out[1] some of the amount of unnecessary work > being done with the mmap_sem held. This patchset is a very initial > approach on reducing some of the contention on this lock, and moving > work outside of the critical region. > > Patch 1 adds a simple helper function. > > Patch 2 moves out some trivial setup logic in mlock related calls. > > Patch 3 allows managing new vmas without requiring the mmap_sem for > vdsos. While it's true that there are many other scenarios where > this can be done, few are actually as straightforward as this in the > sense that we *always* end up allocating memory anyways, so there's really > no tradeoffs. For this reason I wanted to get this patch out in the open.
If you have no objections, could you pickup patches 1 and 2? I think it's safe to say that patch 3 isn't worth any more discussion.
Thanks!
| |