Revision 027232da7c7c1c7f04383f93bd798e475dde5285 authored by Kirill A. Shutemov on 26 July 2018, 23:37:25 UTC, committed by Linus Torvalds on 27 July 2018, 02:38:03 UTC
Not all VMAs allocated with vm_area_alloc().  Some of them allocated on
stack or in data segment.

The new helper can be use to initialize VMA properly regardless where it
was allocated.

Link: http://lkml.kernel.org/r/20180724121139.62570-2-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 31c5bda
History
File Mode Size
Kconfig -rw-r--r-- 892 bytes
Makefile -rw-r--r-- 458 bytes
aaci.c -rw-r--r-- 24.8 KB
aaci.h -rw-r--r-- 6.9 KB
pxa2xx-ac97-lib.c -rw-r--r-- 8.7 KB
pxa2xx-ac97.c -rw-r--r-- 6.8 KB
pxa2xx-pcm-lib.c -rw-r--r-- 4.9 KB
pxa2xx-pcm.c -rw-r--r-- 2.9 KB
pxa2xx-pcm.h -rw-r--r-- 828 bytes

back to top