diff options
author | Ira Weiny <ira.weiny@intel.com> | 2021-02-25 17:22:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-26 09:41:05 -0800 |
commit | 3159ed57792be7453793bda27297a423e1c63d6c (patch) | |
tree | 774aa3530d912f7c900e396ed4d36049cfdfc508 /mm/cma.c | |
parent | f9c8bc4604c95a7c55293f244f67753f6e96096f (diff) |
fs/coredump: use kmap_local_page()
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>
Diffstat (limited to 'mm/cma.c')
0 files changed, 0 insertions, 0 deletions