diff options
author | Miaohe Lin <[email protected]> | 2022-03-22 14:39:25 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-03-22 15:57:01 -0700 |
commit | a74c6c00b1cb56386a98c2f2615f8966b3d1034d (patch) | |
tree | 556169c9eed0f07da222104cb3a56f3ab19fa14c /mm/filemap.c | |
parent | a128b054ce029554a4a52fc3abb8c1df8bafcaef (diff) |
mm/memremap: avoid calling kasan_remove_zero_shadow() for device private memory
For device private memory, we do not create a linear mapping for the
memory because the device memory is un-accessible. Thus we do not add
kasan zero shadow for it. So it's unnecessary to do
kasan_remove_zero_shadow() for it.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions