On 11/21/23 23:38, Zebediah Beck wrote:
Excellent, please explain the bug in question in further detail as this is interesting
There is not much to say about it. The main challenge on parisc is, that it's the only platform left where the stack grows upwards. So, the kernel has special handling when allocating space for the (big) environment. Since both stack and heap grow upward, it's not easy to find a suitable place where to put a large environment. But, I don't think this is the specific problem here. The real problem is probably that there were many patches not in 6.3 (but partly added at later stages in -stable series), e.g.: - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6f9e98849edaa8aefc4030ff3500e41556e83ff7 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c2ff2b736c41cc63bb0aaec85cccfead9fbcfe92 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0f4b7879f2e14986200747d1b545e5daac8c624 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5f74f820f6fc844b95f9e5e406e0a07d97510420 (kernel 6.6 and 6.7-rc1) As Bruno said, Kernel 6.3.0-2-parisc fails the testcase, while Kernel 6.3.7-t2-parisc works ok. Helge