diff options
author | Oleksandr Pavlyk <oleksandr.pavlyk@intel.com> | 2022-03-11 22:19:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 22:19:35 (GMT) |
commit | 3b128c054885fe881c3b57a5978de3ea89c81a9c (patch) | |
tree | a29ecf75863020ec4292acdfe485d36c70386bd8 /pyconfig.h.in | |
parent | dc374ac7b0fabaed49461a2044c220765f48d229 (diff) | |
download | cpython-3b128c054885fe881c3b57a5978de3ea89c81a9c.zip cpython-3b128c054885fe881c3b57a5978de3ea89c81a9c.tar.gz cpython-3b128c054885fe881c3b57a5978de3ea89c81a9c.tar.bz2 |
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.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 40057e0..1b84ee1 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -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 |