The coroipcc_service_connect call has quite a few very large local
variables pushed on the stack due to PATH_MAX specified at 4096 on
some platforms.  This results in the following condition:

2 x mar_req_setup_t which contains 4xPATH_MAX + sizeof(int) + sizeof
(long long) + 4 x sizeof(size_t)
plus 4 x PATHMAX for local map variables.

This leads to the initialization using 12 * 16k bytes + some loose
change.  Could these (and other) library routines be updated to reduce
the need for large amounts of stack in favor of memory for the malloc
pool?
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to