Memalign is pretty important - the short version is "we can not remove it".
I didn't say "remove", I said "review".
There are some structures in the code that rely on this for performance to guarantee that
they memory is aligned to a page boundary, or cache line boundary. In some cases it's
required to allow the atomics to work in nunc-stans (well, lfds, but the value of that
today is questionable when the rust version is possibly safer and faster).
Since you're the expert in this area, maybe you can leave a comment in the issue
linked above with the justification for upstream to reconsider?
You mean upstream LSAN/ASAN in this case, yes?
—
Sincerely,
William Brown
Senior Software Engineer, 389 Directory Server
SUSE Labs