diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-04-07 22:18:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-05-22 23:37:23 +0200 |
commit | de7e71ef8bed222dd144d8878091ecb6d5dfd208 (patch) | |
tree | 329a4c2ee5a7b7defe6201e28381349b7e3e7cc1 /drivers/misc/mei/debugfs.c | |
parent | Merge local branch 'x86-codegen' (diff) | |
download | linux-de7e71ef8bed222dd144d8878091ecb6d5dfd208.tar.xz linux-de7e71ef8bed222dd144d8878091ecb6d5dfd208.zip |
mm: simplify and improve print_vma_addr() output
Use '%pD' to print out the filename, and print out the actual offset
within the file too, rather than just what the virtual address of the
mapping is (which doesn't tell you anything about any mapping offsets).
Also, use the exact vma_lookup() instead of find_vma() - the latter
looks up any vma _after_ the address, which is of questionable value
(yes, maybe you fell off the beginning, but you'd be more likely to fall
off the end).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/mei/debugfs.c')
0 files changed, 0 insertions, 0 deletions