[ovs-git] [openvswitch/ovs] 4846f3: lib/ovs-thread: Ensure that thread stacks are alwa...

GitHub noreply at github.com
Thu Mar 17 00:05:38 UTC 2016


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: 4846f3ee927f558f0faa83a73d2b4f6fd55e6214
      https://github.com/openvswitch/ovs/commit/4846f3ee927f558f0faa83a73d2b4f6fd55e6214
  Author: Alexandru Ardelean <ardeleanalex at gmail.com>
  Date:   2016-03-16 (Wed, 16 Mar 2016)

  Changed paths:
    M lib/ovs-thread.c

  Log Message:
  -----------
  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 at mckay.com>
Signed-off-by: Alexandru Ardelean <ardeleanalex at gmail.com>
[blp at ovn.org made style changes]
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 74f1fc4d25fa82964fe1375744e8e40e34902829
      https://github.com/openvswitch/ovs/commit/74f1fc4d25fa82964fe1375744e8e40e34902829
  Author: Alexandru Ardelean <ardeleanalex at gmail.com>
  Date:   2016-03-16 (Wed, 16 Mar 2016)

  Changed paths:
    M lib/ovs-thread.c

  Log Message:
  -----------
  lib/ovs-thread: make use of the pthread_attr object

The pthread_attr object needs to be passed to the pthread_create()
call in order to make use of it.

Fixes: 8147cec9ee (lib/ovs-thread: Ensure that thread stacks are
             always at least 512 kB.)
Signed-off-by: Alexandru Ardelean <ardeleanalex at gmail.com>
Acked-by: Andy Zhou <azhou at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/f61053debcb4...74f1fc4d25fa


More information about the git mailing list