diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2023-10-12 09:40:44 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-10-23 18:21:22 +0200 |
| commit | f67c2da9f1c2d56e3adab342fc39c00c0c5ec790 (patch) | |
| tree | 7ba036c152dcc105b2377e27bbf9f754bd535b14 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | s390/mm,fault: improve readability by using teid union (diff) | |
| download | linux-f67c2da9f1c2d56e3adab342fc39c00c0c5ec790.tar.gz linux-f67c2da9f1c2d56e3adab342fc39c00c0c5ec790.zip | |
s390/mm,fault: use get_kernel_nofault() to dereference in dump_pagetable()
The page table dumper uses get_kernel_nofault() to test if dereferencing
page table entries is possible. Use the result, which is the required page
table entry, instead of throwing it away and dereferencing a second time
without any safe guard.
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
