diff options
author | 2021-02-25 17:17:53 -0800 | |
---|---|---|
committer | 2021-02-26 09:41:01 -0800 | |
commit | aaf1f990aee40bc74b425ef8f51201ae21b85ed7 (patch) | |
tree | fb18395b3d4afa77173fe62a242331a24b55b802 /tools/perf/scripts/python/check-perf-trace.py | |
parent | mm/mlock: stop counting mlocked pages when none vma is found (diff) | |
download | linux-dev-aaf1f990aee40bc74b425ef8f51201ae21b85ed7.tar.xz linux-dev-aaf1f990aee40bc74b425ef8f51201ae21b85ed7.zip |
mm/rmap: correct some obsolete comments of anon_vma
commit 2b575eb64f7a ("mm: convert anon_vma->lock to a mutex") changed
spinlock used to serialize access to vma list to mutex. And further, the
commit 5a505085f043 ("mm/rmap: Convert the struct anon_vma::mutex to an
rwsem") converted the mutex to an rwsem for solving scalability problem.
So replace spinlock with rwsem to make comment uptodate.
Link: https://lkml.kernel.org/r/20210123072459.25903-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Rik van Riel <riel@surriel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions