aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-10-27 19:06:48 -0400
committerBorislav Petkov <[email protected]>2020-10-28 14:48:30 +0100
commit1fcd009102ee02e217f2e7635ab65517d785da8e (patch)
tree8e81f186e313a92e0e15634ae1d4f873279e730a /tools/perf/scripts/python/bin/export-to-postgresql-report
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
x86/mm/ident_map: Check for errors from ident_pud_init()
Commit ea3b5e60ce80 ("x86/mm/ident_map: Add 5-level paging support") added ident_p4d_init() to support 5-level paging, but this function doesn't check and return errors from ident_pud_init(). For example, the decompressor stub uses this code to create an identity mapping. If it runs out of pages while trying to allocate a PMD pagetable, the error will be currently ignored. Fix this to propagate errors. [ bp: Space out statements for better readability. ] Fixes: ea3b5e60ce80 ("x86/mm/ident_map: Add 5-level paging support") Signed-off-by: Arvind Sankar <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Joerg Roedel <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions