Re: [PATCH v6 1/2] mm/vmalloc: do not keep unpurged areas in the busy tree

2019-07-25 Thread Pengfei Li
Thanks. Signed-off-by: Pengfei Li On Thu, Jul 25, 2019 at 10:36 AM Andrew Morton wrote: > > On Tue, 16 Jul 2019 23:26:55 +0800 Pengfei Li wrote: > > > From: "Uladzislau Rezki (Sony)" > > > > The busy tree can be quite big, even though the area is freed > > or unmapped it still stays there unt

Re: [PATCH v6 1/2] mm/vmalloc: do not keep unpurged areas in the busy tree

2019-07-24 Thread Andrew Morton
On Tue, 16 Jul 2019 23:26:55 +0800 Pengfei Li wrote: > From: "Uladzislau Rezki (Sony)" > > The busy tree can be quite big, even though the area is freed > or unmapped it still stays there until "purge" logic removes > it. > > 1) Optimize and reduce the size of "busy" tree by removing a > node

[PATCH v6 1/2] mm/vmalloc: do not keep unpurged areas in the busy tree

2019-07-16 Thread Pengfei Li
From: "Uladzislau Rezki (Sony)" The busy tree can be quite big, even though the area is freed or unmapped it still stays there until "purge" logic removes it. 1) Optimize and reduce the size of "busy" tree by removing a node from it right away as soon as user triggers free paths. It is possible