diff options
| author | Jocelyn Falempe <jfalempe@redhat.com> | 2025-04-07 15:42:25 +0200 |
|---|---|---|
| committer | Jocelyn Falempe <jfalempe@redhat.com> | 2025-04-10 10:50:57 +0200 |
| commit | 8702048bb8313a21ec9179e9ce7ad3c5cb2ef072 (patch) | |
| tree | dba96dd52c9b7fa0032f32fe5957a6abc072684a /tools/perf/scripts/python/syscall-counts.py | |
| parent | d74cc229cfbbc5a96139825c297f34accd670bce (diff) | |
mm/kmap: Add kmap_local_page_try_from_panic()
kmap_local_page() can be unsafe to call from a panic handler, if
CONFIG_HIGHMEM is set, and the page is in the highmem zone.
So add kmap_local_page_try_from_panic() to handle this case.
Suggested-by: Simona Vetter <simona.vetter@ffwll.ch>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250407140138.162383-2-jfalempe@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
