[PATCH] tevent patches

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Feb 28 04:41:57 MST 2014


On Fri, Feb 28, 2014 at 10:26:32AM +0100, Stefan (metze) Metzmacher wrote:
> The problem I have with this is that this costs much more than
> the first patchset for the most performance critical users
> smbd and ctdbd. A additional talloc() call per event registration
> costs a lot more than a function call to a noop function.

What about adding the tevent_trace_handler_data at the end
of the tevent structures in case they are needed and play
some offsetof magic in case the additional memory used is a
concern if the trace points are not needed?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list