lib/ovs-thread: Ensure that thread stacks are always at least 512 kB.
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 4 Feb 2016 07:20:34 +0000 (09:20 +0200)
committerBen Pfaff <blp@ovn.org>
Fri, 5 Feb 2016 19:17:39 +0000 (11:17 -0800)
commit8147cec9ee8feea9440cf79365709ddc32ff57d5
treea5de6ff81081f91f5f1de6d8691748a5276ba5a3
parent8c0fae89d469220de42106cb62bddda4986b5583
lib/ovs-thread: Ensure that thread stacks are always at least 512 kB.

This makes a difference for libc implementations (such as musl libc) that
have a really small default pthread stack size.

Will reference this discussion:
http://patchwork.ozlabs.org/patch/572340/

Reported-by: Robert McKay <robert@mckay.com>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
[blp@ovn.org made style changes]
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/ovs-thread.c