https://github.com/torvalds/linux
Revision 3159ed57792be7453793bda27297a423e1c63d6c authored by Ira Weiny on 26 February 2021, 01:22:22 UTC, committed by Linus Torvalds on 26 February 2021, 17:41:05 UTC
In dump_user_range() there is no reason for the mapping to be global.  Use
kmap_local_page() rather than kmap.

Link: https://lkml.kernel.org/r/20210203223328.558945-1-ira.weiny@intel.com
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f9c8bc4
History
Tip revision: 3159ed57792be7453793bda27297a423e1c63d6c authored by Ira Weiny on 26 February 2021, 01:22:22 UTC
fs/coredump: use kmap_local_page()
Tip revision: 3159ed5
File Mode Size
Kconfig -rw-r--r-- 74.4 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 14.9 KB
do_mounts.h -rw-r--r-- 908 bytes
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_rd.c -rw-r--r-- 7.7 KB
init_task.c -rw-r--r-- 6.2 KB
initramfs.c -rw-r--r-- 13.9 KB
main.c -rw-r--r-- 37.6 KB
noinitramfs.c -rw-r--r-- 813 bytes
version.c -rw-r--r-- 1.1 KB

back to top