On 04/18/2019 03:24 PM, Andrew Morton wrote: > afaict, vfree() will only do a mutex_trylock() in > try_purge_vmap_area_lazy(). So does vfree actually sleep in any > situation? Whether or not local interrupts are enabled? We would be in a big trouble if vfree() could potentially sleep... Random example : __free_fdtable() called from rcu callback.
- [PATCH v4 0/2] vmalloc enhancements Roman Gushchin
- [PATCH v4 1/2] mm: refactor __vunmap() to avoid duplic... Roman Gushchin
- Re: [PATCH v4 1/2] mm: refactor __vunmap() to avoi... Andrew Morton
- Re: [PATCH v4 1/2] mm: refactor __vunmap() to ... Roman Gushchin
- Re: [PATCH v4 1/2] mm: refactor __vunmap() to ... Matthew Wilcox
- Re: [PATCH v4 1/2] mm: refactor __vunmap()... Andrew Morton
- Re: [PATCH v4 1/2] mm: refactor __vun... Eric Dumazet
- Re: [PATCH v4 1/2] mm: refactor __vun... Al Viro
- [PATCH v4 2/2] mm: show number of vmalloc pages in /pr... Roman Gushchin