[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] alignalloc, xalignalloc: new modules
From: |
Bruno Haible |
Subject: |
Re: [PATCH] alignalloc, xalignalloc: new modules |
Date: |
Mon, 24 Jan 2022 01:52:49 +0100 |
Hi Paul,
How does this compare with the existing 'aligned-malloc' module?
AFAICS,
- With aligned-malloc, the alignment is a compile-time constant.
Whereas with alignalloc, it is passed at runtime.
- aligned-malloc returns non-NULL, except when out-of-memory.
Is that true also for alignalloc?
Other differences?
Bruno