|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: malloc.c,v 1.255 2018/11/27 17:29:55 otto Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: malloc.c,v 1.256 2018/12/09 11:32:02 florian Exp $ */ |
|
|
/* |
|
|
/* |
|
|
* Copyright (c) 2008, 2010, 2011, 2016 Otto Moerbeek <otto@drijf.net> |
|
|
* Copyright (c) 2008, 2010, 2011, 2016 Otto Moerbeek <otto@drijf.net> |
|
|
* Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org> |
|
|
* Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org> |
|
@ -260,8 +260,8 @@ hash(void *p) |
|
|
return sum; |
|
|
return sum; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static inline |
|
|
|
|
|
struct dir_info *getpool(void) |
|
|
|
|
|
|
|
|
static inline struct dir_info * |
|
|
|
|
|
getpool(void) |
|
|
{ |
|
|
{ |
|
|
if (!mopts.malloc_mt) |
|
|
if (!mopts.malloc_mt) |
|
|
return mopts.malloc_pool[0]; |
|
|
return mopts.malloc_pool[0]; |
|
|