Skip to content
Snippets Groups Projects
Unverified Commit ba2b7956 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub
Browse files

bpo-46968: Fix faulthandler for Sapphire Rapids Xeon (GH-31789) (GH-31831)


In Linux kernel 5.14 one can dynamically request size of altstacksize
based on hardware capabilities with getauxval(AT_MINSIGSTKSZ).

This changes allows for Python extension's request to Linux kernel
to use AMX_TILE instruction set on Sapphire Rapids Xeon processor
to succeed, unblocking use of the ISA in frameworks.

Introduced HAVE_LINUX_AUXVEC_H in configure.ac and pyconfig.h.in
Used cpython_autoconf:269 docker container to generate configure.

(cherry picked from commit 3b128c05)

Co-authored-by: default avatarOleksandr Pavlyk <oleksandr.pavlyk@intel.com>
parent 30d80213
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment