20 Jul, 2020

1 commit

  • This is a s390 port of commit 548acf19234d ("x86/mm: Expand the
    exception table logic to allow new handling options"), which is needed
    for implementing BPF_PROBE_MEM on s390.

    The new handler field is made 64-bit in order to allow pointing from
    dynamically allocated entries to handlers in kernel text. Unlike on x86,
    NULL is used instead of ex_handler_default. This is because exception
    tables are used by boot/text_dma.S, and it would be a pain to preserve
    ex_handler_default.

    The new infrastructure is ignored in early_pgm_check_handler, since
    there is no pt_regs.

    Signed-off-by: Ilya Leoshkevich
    Reviewed-by: Heiko Carstens
    Signed-off-by: Heiko Carstens

    Ilya Leoshkevich
     

13 Dec, 2019

2 commits

  • The ORC unwinder has two tables: .orc_unwind_ip and .orc_unwind, which
    need to be sorted for binary search. Previously this sorting was done
    during bootup.

    Sort them at build time to speed up booting.

    Add the ORC tables sorting in a parallel build process to speed up the build.

    [ mingo: Rewrote the changelog and fixed some comments. ]

    Suggested-by: Andy Lutomirski
    Suggested-by: Peter Zijlstra
    Reported-by: kbuild test robot
    Signed-off-by: Shile Zhang
    Acked-by: Peter Zijlstra (Intel)
    Cc: Josh Poimboeuf
    Cc: Masahiro Yamada
    Cc: Michal Marek
    Cc: linux-kbuild@vger.kernel.org
    Link: https://lkml.kernel.org/r/20191204004633.88660-7-shile.zhang@linux.alibaba.com
    Signed-off-by: Ingo Molnar

    Shile Zhang
     
  • Use a more generic name for additional table sorting usecases,
    such as the upcoming ORC table sorting feature. This tool is
    not tied to exception table sorting anymore.

    No functional changes intended.

    [ mingo: Rewrote the changelog. ]

    Signed-off-by: Shile Zhang
    Acked-by: Peter Zijlstra (Intel)
    Cc: Josh Poimboeuf
    Cc: Masahiro Yamada
    Cc: Michal Marek
    Cc: linux-kbuild@vger.kernel.org
    Link: https://lkml.kernel.org/r/20191204004633.88660-6-shile.zhang@linux.alibaba.com
    Signed-off-by: Ingo Molnar

    Shile Zhang