[Swan-dev] Electric Fence
Paul Wouters
paul at nohats.ca
Wed Jan 31 01:54:40 UTC 2018
On Mon, 15 Jan 2018, D. Hugh Redelmeier wrote:
> I think that efence would not significantly increase the runtime of our
> test suit (this needs to be verified). It would significantly improve the
> chance of catching errors like this.
>
> It is true that we had a pool of unused mds to reduce the pressure on
> malloc. That would mean that efence would be ineffective for most mds.
> I think that Andrew removed this pool. In any case, there was a
> compile-time flag to remove it.
Was it removed? I vaguely remember it being removed but restored?
> Recommendation: enable efence in test suite.
That I agree with. Andrew, can you change the run on testing.libreswan
to set EFENCE=-lefence either on the cmdline or in Makefile.inc.local ?
Paul
More information about the Swan-dev
mailing list