23 Nov
2020
23 Nov
'20
10:33 a.m.
Andreas Rammhold <andreas@rammhold.de> writes:
On 11:07 23.11.20, Toke Høiland-Jørgensen wrote:
+void * +sl_allocz(slab *s) +{ + void *obj = sl_alloc(s); + memset(obj, 0, s->size); + return obj; +} +
This is the same function name and (almost same) implementation as further down in this patch. Did you forget to remove it?
No, look at the ifdefs - this one is for the FAKE_SLAB case :) -Toke