Re: [DynInst_API:] TLS-based trampguard patch


Date: Wed, 11 Feb 2015 15:06:34 +0100
From: Gerard <nouboh@xxxxxxxxx>
Subject: Re: [DynInst_API:] TLS-based trampguard patch
I'm not sure if this patch should have solved my problem with the maximum number of threads but with this version I still have the same problem. If I don't increase the MAX_THREADS constant my instrumented process still hangs after creating around 40 threads.

Tested on 64bits Gentoo Linux with kernel version 3.18.3-gentoo.


Gerard

2015-02-06 21:54 GMT+01:00 Bill Williams <bill@xxxxxxxxxxx>:
As per discussion earlier this week, here's an initial implementation of TLS-based trampguards. It is not yet pushed to master; I've tested it locally but it has not been through serious cross-platform validation yet. Treat as experimental.

This should (mostly) obviate our hard-coded thread limits, and should produce modestly better performance in multithreaded code. These changes will not work with an old dyninst runtime library at present; that's backwards compatibility that I can wedge back in if anyone particularly cares. As always, feedback (both good and bad) is encouraged.

--bw

Bill Williams
Paradyn Project
bill@xxxxxxxxxxx

_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

[← Prev in Thread] Current Thread [Next in Thread→]