Re: [PATCH v5 2/2] mm/vmalloc: modify struct vmap_area to reduce its size

2019-07-16 Thread Pengfei Li
On Tue, Jul 16, 2019 at 10:35 PM Uladzislau Rezki wrote: > > On Tue, Jul 16, 2019 at 09:26:04PM +0800, Pengfei Li wrote: > > Objective > > - > > The current implementation of struct vmap_area wasted space. > > > > After applying this commit, sizeof(struct vmap_area) has been > > reduced

Re: [PATCH v5 2/2] mm/vmalloc: modify struct vmap_area to reduce its size

2019-07-16 Thread Uladzislau Rezki
On Tue, Jul 16, 2019 at 09:26:04PM +0800, Pengfei Li wrote: > Objective > - > The current implementation of struct vmap_area wasted space. > > After applying this commit, sizeof(struct vmap_area) has been > reduced from 11 words to 8 words. > > Description > --- > 1) Pack

[PATCH v5 2/2] mm/vmalloc: modify struct vmap_area to reduce its size

2019-07-16 Thread Pengfei Li
Objective - The current implementation of struct vmap_area wasted space. After applying this commit, sizeof(struct vmap_area) has been reduced from 11 words to 8 words. Description --- 1) Pack "subtree_max_size", "vm" and "purge_list". This is no problem because A)