diff options
author | Manas <manas18244@iiitd.ac.in> | 2024-10-04 20:42:16 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-11-07 07:11:17 +0300 |
commit | 722376934b6c0b8692f32784d7755bbe5be67529 (patch) | |
tree | f469144444eed28805c1c0994dccc88796787467 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ed265529d39ac408396c031a4fd7e1ef922b80d0 (diff) | |
download | linux-722376934b6c0b8692f32784d7755bbe5be67529.tar.xz |
mm/memory.c: simplify pfnmap_lockdep_assert
Use local `mapping' to reduce the pointer chasing.
akpm: extracted from a bugfix which Linus fixed with b1b46751671be ("mm:
fix follow_pfnmap API lockdep assert").
Link: https://lkml.kernel.org/r/20241004-fix-null-deref-v4-1-d0a8ec01ac85@iiitd.ac.in
Signed-off-by: Manas <manas18244@iiitd.ac.in>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Anup Sharma <anupnewsmail@gmail.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions