aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-03-22 14:44:15 -0700
committerLinus Torvalds <[email protected]>2022-03-22 15:57:07 -0700
commita994402bc4714cefea5770b2d906cef5b0f4dc5c (patch)
tree8c5068f78c6c56643e28c1082d779e1b310d9baa /tools/perf/scripts/python/bin/stackcollapse-report
parent577553f4897181dc8960351511c921018892e818 (diff)
mm/memory-failure.c: catch unexpected -EFAULT from vma_address()
It's unexpected to walk the page table when vma_address() return -EFAULT. But dev_pagemap_mapping_shift() is called only when vma associated to the error page is found already in collect_procs_{file,anon}, so vma_address() should not return -EFAULT except with some bug, as Naoya pointed out. We can use VM_BUG_ON_VMA() to catch this bug here. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions