fix: mm: introduce vma->vm_flags wrapper functions (v6.3)
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 7 Mar 2023 16:41:14 +0000 (11:41 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 8 Mar 2023 18:49:58 +0000 (13:49 -0500)
commit939200ef160c95c8a9d71fd80c99f42a1de0a9f0
treecfbed5c884c3a1e76bdebc418a7a9696c0124083
parentda1f5a264fff33fc5a9518e519fb0084bf1074af
fix: mm: introduce vma->vm_flags wrapper functions (v6.3)

See upstream commit :

  commit bc292ab00f6c7a661a8a605c714e8a148f629ef6
  Author: Suren Baghdasaryan <surenb@google.com>
  Date:   Thu Jan 26 11:37:47 2023 -0800

    mm: introduce vma->vm_flags wrapper functions

    vm_flags are among VMA attributes which affect decisions like VMA merging
    and splitting.  Therefore all vm_flags modifications are performed after
    taking exclusive mmap_lock to prevent vm_flags updates racing with such
    operations.  Introduce modifier functions for vm_flags to be used whenever
    flags are updated.  This way we can better check and control correct
    locking behavior during these updates.

Change-Id: I2cf662420d9d7748e5e310d3ea4bac98ba7d7f94
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/wrapper/mm.h
src/lib/ringbuffer/ring_buffer_mmap.c
This page took 0.026941 seconds and 4 git commands to generate.