Re: [PATCH] mm/vmalloc: add vm_struct for vm_map_ram area

2017-07-19 Thread zijun_hu
On 07/19/2017 06:44 PM, Zhaoyang Huang wrote: > /proc/vmallocinfo will not show the area allocated by vm_map_ram, which > will make confusion when debug. Add vm_struct for them and show them in > proc. > > Signed-off-by: Zhaoyang Huang > --- another patch titled "vmalloc: show lazy-purged vma inf

Re: [PATCH] mm/vmalloc: add vm_struct for vm_map_ram area

2017-07-19 Thread Zhaoyang Huang
update the comment bellow as ...'s/by one driver's allocating/because one driver has allocated/'..., sorry for the confusion On Thu, Jul 20, 2017 at 9:15 AM, Zhaoyang Huang wrote: > On Thu, Jul 20, 2017 at 4:50 AM, Andrew Morton > wrote: >> On Wed, 19 Jul 2017 18:44:03 +0800 Zhaoyang Huang >>

Re: [PATCH] mm/vmalloc: add vm_struct for vm_map_ram area

2017-07-19 Thread Zhaoyang Huang
On Thu, Jul 20, 2017 at 4:50 AM, Andrew Morton wrote: > On Wed, 19 Jul 2017 18:44:03 +0800 Zhaoyang Huang > wrote: > >> /proc/vmallocinfo will not show the area allocated by vm_map_ram, which >> will make confusion when debug. Add vm_struct for them and show them in >> proc. >> > > Please provid

Re: [PATCH] mm/vmalloc: add vm_struct for vm_map_ram area

2017-07-19 Thread Andrew Morton
On Wed, 19 Jul 2017 18:44:03 +0800 Zhaoyang Huang wrote: > /proc/vmallocinfo will not show the area allocated by vm_map_ram, which > will make confusion when debug. Add vm_struct for them and show them in > proc. > Please provide sample /proc/vmallocinfo so we can better understand the proposa

[PATCH] mm/vmalloc: add vm_struct for vm_map_ram area

2017-07-19 Thread Zhaoyang Huang
/proc/vmallocinfo will not show the area allocated by vm_map_ram, which will make confusion when debug. Add vm_struct for them and show them in proc. Signed-off-by: Zhaoyang Huang --- mm/vmalloc.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/mm/