| 26 | } |
| 27 | |
| 28 | static void |
| 29 | alloc_free_size(size_t sz) { |
| 30 | void *ptr = mallocx(1, 0); |
| 31 | free(ptr); |
| 32 | ptr = mallocx(1, 0); |
| 33 | free(ptr); |
| 34 | ptr = mallocx(1, MALLOCX_TCACHE_NONE); |
| 35 | dallocx(ptr, MALLOCX_TCACHE_NONE); |
| 36 | } |
| 37 | |
| 38 | /* |
| 39 | * We want to support a degree of user reentrancy. This tests a variety of |