Re: [PATCH v12 20/31] mm: introduce vma reference counter

2019-04-24 Thread Laurent Dufour
Le 22/04/2019 à 22:36, Jerome Glisse a écrit : On Tue, Apr 16, 2019 at 03:45:11PM +0200, Laurent Dufour wrote: The final goal is to be able to use a VMA structure without holding the mmap_sem and to be sure that the structure will not be freed in our back. The lockless use of the VMA will be do

Re: [PATCH v12 20/31] mm: introduce vma reference counter

2019-04-22 Thread Jerome Glisse
On Tue, Apr 16, 2019 at 03:45:11PM +0200, Laurent Dufour wrote: > The final goal is to be able to use a VMA structure without holding the > mmap_sem and to be sure that the structure will not be freed in our back. > > The lockless use of the VMA will be done through RCU protection and thus a > ded

[PATCH v12 20/31] mm: introduce vma reference counter

2019-04-16 Thread Laurent Dufour
The final goal is to be able to use a VMA structure without holding the mmap_sem and to be sure that the structure will not be freed in our back. The lockless use of the VMA will be done through RCU protection and thus a dedicated freeing service is required to manage it asynchronously. As report