[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

Oleksandr Pavlyk report at bugs.python.org
Fri Mar 11 20:10:23 EST 2022


Oleksandr Pavlyk <oleksandr.pavlyk at intel.com> added the comment:

So where getauxval(AT_MINSIGSTKSZ) < SIGSTKSZ the merged changes actually resulted in decrease of the allocated signal deliver stack. 

On Sapphire Rapids due to tile registers size we have getauxval(AT_MINSIGSTKSZ) > SIGSTKSZ.

This is why the initial proposal was to use SIGSTKSZ + max(getauxval(AT_MINSIGSTKSZ), SIGSTKSZ).

I suppose, ultimately I am saying that we should check that bpo-21131 does not regress.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46968>
_______________________________________


More information about the Python-bugs-list mailing list