* memalign.c and posix_memalign
@ 2017-12-02 16:12 Rebecca Cran
2017-12-04 15:08 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Rebecca Cran @ 2017-12-02 16:12 UTC (permalink / raw)
To: fio
I noticed that fio has code in lib/memalign.c to return an aligned pointer. I was wondering if we could call posix_memalign instead? Or is it too new to exist on all systems we support?
—
Rebecca
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: memalign.c and posix_memalign
2017-12-02 16:12 memalign.c and posix_memalign Rebecca Cran
@ 2017-12-04 15:08 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2017-12-04 15:08 UTC (permalink / raw)
To: Rebecca Cran, fio
On 12/02/2017 09:12 AM, Rebecca Cran wrote:
> I noticed that fio has code in lib/memalign.c to return an aligned
> pointer. I was wondering if we could call posix_memalign instead? Or
> is it too new to exist on all systems we support?
Don't think it's generally available, unfortunately. I always forget,
and then I get errors on windows and friends.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-04 15:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-02 16:12 memalign.c and posix_memalign Rebecca Cran
2017-12-04 15:08 ` Jens Axboe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.