Re: [RESEND PATCH v5 3/4] mm/vmalloc: revert "mm/vmalloc.c: check VM_UNINITIALIZED flag in s_show instead of show_numa_info"

2013-09-16 Thread KOSAKI Motohiro
On Mon, Sep 16, 2013 at 8:18 PM, Wanpeng Li wrote: > Hi KOSAKI, > On Mon, Sep 16, 2013 at 05:23:32PM -0400, KOSAKI Motohiro wrote: >>On 9/14/2013 7:45 PM, Wanpeng Li wrote: >>> Changelog: >>> *v2 -> v3: revert commit d157a558 directly >>> >>> The VM_UNINITIALIZED/VM_UNLIST flag introduced by

Re: [RESEND PATCH v5 3/4] mm/vmalloc: revert "mm/vmalloc.c: check VM_UNINITIALIZED flag in s_show instead of show_numa_info"

2013-09-16 Thread KOSAKI Motohiro
On 9/14/2013 7:45 PM, Wanpeng Li wrote: > Changelog: > *v2 -> v3: revert commit d157a558 directly > > The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid > null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid > accessing the pages field with

Re: [RESEND PATCH v5 3/4] mm/vmalloc: revert mm/vmalloc.c: check VM_UNINITIALIZED flag in s_show instead of show_numa_info

2013-09-16 Thread KOSAKI Motohiro
On 9/14/2013 7:45 PM, Wanpeng Li wrote: Changelog: *v2 - v3: revert commit d157a558 directly The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid accessing the pages field with unallocated page

Re: [RESEND PATCH v5 3/4] mm/vmalloc: revert mm/vmalloc.c: check VM_UNINITIALIZED flag in s_show instead of show_numa_info

2013-09-16 Thread KOSAKI Motohiro
On Mon, Sep 16, 2013 at 8:18 PM, Wanpeng Li liw...@linux.vnet.ibm.com wrote: Hi KOSAKI, On Mon, Sep 16, 2013 at 05:23:32PM -0400, KOSAKI Motohiro wrote: On 9/14/2013 7:45 PM, Wanpeng Li wrote: Changelog: *v2 - v3: revert commit d157a558 directly The VM_UNINITIALIZED/VM_UNLIST flag

[RESEND PATCH v5 3/4] mm/vmalloc: revert "mm/vmalloc.c: check VM_UNINITIALIZED flag in s_show instead of show_numa_info"

2013-09-14 Thread Wanpeng Li
Changelog: *v2 -> v3: revert commit d157a558 directly The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid accessing the pages field with unallocated page when show_numa_info() is called. This patch

[RESEND PATCH v5 3/4] mm/vmalloc: revert mm/vmalloc.c: check VM_UNINITIALIZED flag in s_show instead of show_numa_info

2013-09-14 Thread Wanpeng Li
Changelog: *v2 - v3: revert commit d157a558 directly The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid accessing the pages field with unallocated page when show_numa_info() is called. This patch