Conversation
…and we don't need them anyway
|
Mirage3 beta tester here. I recommend to merge this PR and make another release of Solo5. On FreeBSD, I otherwise (with |
|
Can we achieve the same effect with a one line change adding ...at the top of If not, why not? @hannesm Why haven't we run into this before? Is it something to do with a newer |
|
@mato and we didn't run into this before since earlier compilation was done with clang-3.8 (3.9 was merged to FreeBSD-CURRENT at the end of November, it looks like I didn't recompile solo5 since then on my laptop). FreeBSD-11 (the latest release, I deploy my solo5 unikernels on such a machine) still uses clang 3.8.0. |
|
Ok, that makes sense. @djwillia Can you confirm |
|
@mato yes, |
|
@djwillia Both reasons that you mention and further: The first question that came into my mind when I read the change in isolation was "Why is this change removing the lock code rather than just turning it off, given that there's a perfectly good mechanism for the latter?" Anyhow, thanks for acking that the one-liner works, I'll now make a new PR with that change. |
|
Superseded by #158. |
As part of #150, I've been working on building Solo5 (and ultimately uhvf) locally on MacOSX. Along the way, I was using clang 3.9, which threw some warnings concerning the USE_LOCKS macros in dlmalloc. We don't use malloc locks anyway, so it seemed best to remove that code.