On Thu, Dec 06, 2018 at 11:30:03AM +0100, Otto Moerbeek wrote:
> Hi,
>
> This simpifies the lock dance when a free is done for a pointer not in
> "my pool". Should reduce lock contention.
>
> Please review & test, especially with multithread heavy apps.
This is now committed. Thanks to all the
This looks correct, OK florian
btw. I had some trouble fining getpool(), OK for the style(9) fix?
diff --git malloc.c malloc.c
index d5a651c7dea..b30ee820cf1 100644
--- malloc.c
+++ malloc.c
@@ -260,8 +260,8 @@ hash(void *p)
return sum;
}
-static inline
-struct dir_info *getpool(void)
Hi,
This simpifies the lock dance when a free is done for a pointer not in
"my pool". Should reduce lock contention.
Please review & test, especially with multithread heavy apps.
-Otto
Index: malloc.c
===
RCS file: