diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2018-07-27 02:37:25 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-07-27 05:38:03 +0300 |
commit | 027232da7c7c1c7f04383f93bd798e475dde5285 (patch) | |
tree | cff44e09fbd8b37334ae734a06be980ec6c01243 /Documentation/devicetree | |
parent | 31c5bda3a656089f01963d290a40ccda181f816e (diff) | |
download | linux-027232da7c7c1c7f04383f93bd798e475dde5285.tar.xz |
mm: introduce vma_init()
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>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions