From: Zhang Yanfei Date: Mon, 8 Jul 2013 22:59:59 +0000 (-0700) Subject: mm/vmalloc.c: check VM_UNINITIALIZED flag in s_show instead of show_numa_info X-Git-Tag: v3.11-rc1~67^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d157a55815ffff48caec311dfb543ce8a79e283e;p=pandora-kernel.git mm/vmalloc.c: check VM_UNINITIALIZED flag in s_show instead of show_numa_info We should check the VM_UNITIALIZED flag in s_show(). If this flag is set, that said, the vm_struct is not fully initialized. So it is unnecessary to try to show the information contained in vm_struct. We checked this flag in show_numa_info(), but I think it's better to check it earlier. Signed-off-by: Zhang Yanfei Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed