Re: [PATCH v2] mm/vmalloc: Keep a separate lazy-free list

2016-04-15 Thread Roman Peniaev
On Fri, Apr 15, 2016 at 1:07 PM, Chris Wilson wrote: > When mixing lots of vmallocs and set_memory_*() (which calls > vm_unmap_aliases()) I encountered situations where the performance > degraded severely due to the walking of the entire vmap_area list each > invocation. One simple improvement is

[PATCH v2] mm/vmalloc: Keep a separate lazy-free list

2016-04-15 Thread Chris Wilson
When mixing lots of vmallocs and set_memory_*() (which calls vm_unmap_aliases()) I encountered situations where the performance degraded severely due to the walking of the entire vmap_area list each invocation. One simple improvement is to add the lazily freed vmap_area to a separate lockless free