mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
bpo-46968: Fix faulthandler for Sapphire Rapids Xeon (GH-31789)
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.
This commit is contained in:
parent
dc374ac7b0
commit
3b128c0548
5 changed files with 30 additions and 8 deletions
|
|
@ -661,6 +661,9 @@
|
|||
/* Define to 1 if you have the `linkat' function. */
|
||||
#undef HAVE_LINKAT
|
||||
|
||||
/* Define to 1 if you have the <linux/auxvec.h> header file. */
|
||||
#undef HAVE_LINUX_AUXVEC_H
|
||||
|
||||
/* Define to 1 if you have the <linux/can/bcm.h> header file. */
|
||||
#undef HAVE_LINUX_CAN_BCM_H
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue