summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYunlong Song <yunlong.song@huawei.com>2018-02-28 20:31:52 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-03-13 08:20:23 +0900
commit39ed8376d611d2a211079be6a2ac08715f5a58c4 (patch)
tree5a94aa4d1fa8be22a321d66f38772f2b0af5b452 /tools/perf/scripts/python
parent5f9b3abb911fa2f51f5690f4376cf919c2069662 (diff)
f2fs: don't put dentry page in pagecache into highmem
Previous dentry page uses highmem, which will cause panic in platforms using highmem (such as arm), since the address space of dentry pages from highmem directly goes into the decryption path via the function fscrypt_fname_disk_to_usr. But sg_init_one assumes the address is not from highmem, and then cause panic since it doesn't call kmap_high but kunmap_high is triggered at the end. To fix this problem in a simple way, this patch avoids to put dentry page in pagecache into highmem. Signed-off-by: Yunlong Song <yunlong.song@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> [Jaegeuk Kim: fix coding style] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions