This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix for BZ 22207 -- intermittent failure to create threads on 32-bit machines


Greetings,

In stdlib/test-{atexit,at_quick_exit,cxa_atexit,on_exit} tests, I am
creating 1024 new threads.

With default 8MiB Linux thread stack size, if all threads are alive at
the same time, this would require 8GiB of VM, which is a bit of a
problem on 32-bit machines.

Attached patch reduces total VM space required for all threads to 128MiB.

Proposed commit message:

---
Reduce total memory required to create all threads to 128MiB.

This fixes intermittent failure in
stdlib/test-{atexit,at_quick_exit,cxa_atexit,on_exit} tests (Bug
22207).
---

Thanks,
-- 
Paul Pluzhnikov

Attachment: glibc-bz22207-20170925.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]