[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Aligned blocks management: obsolete?
From: |
Stefan Monnier |
Subject: |
Re: Aligned blocks management: obsolete? |
Date: |
Wed, 20 Jun 2012 11:41:57 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
>> I'm not completely sure the test is sufficiently thorough to catch all
>> problems, and more importantly it doesn't test the efficiency
>> of memalign.
> If it's just a matter of configure test, different methods may be used.
> For example, attached code checks whether memalign tends to create holes
> while allocating (1024 - 8) blocks aligned at 1024-bytes boundary;
You want to mix those allocations with a few others of different sizes,
since some of the problems show up in those cases (e.g.
"memalign(1024); malloc(10); memalign(1024)" might end up wasting 1KB
between the malloc and the second memalign).
> optimal pad (BLOCK_PADDING in current code) may be detected with the
> similar way.
That would be good.
Stefan
- Re: Aligned blocks management: obsolete?, Dmitry Antipov, 2012/06/19
- Re: Aligned blocks management: obsolete?, Eli Zaretskii, 2012/06/19
- Re: Aligned blocks management: obsolete?, Stefan Monnier, 2012/06/19
- Re: Aligned blocks management: obsolete?, Dmitry Antipov, 2012/06/20
- Re: Aligned blocks management: obsolete?, Stefan Monnier, 2012/06/20
- Re: Aligned blocks management: obsolete?, Dmitry Antipov, 2012/06/20
- Re: Aligned blocks management: obsolete?,
Stefan Monnier <=
- Re: Aligned blocks management: obsolete?, Eli Zaretskii, 2012/06/20
- Re: Aligned blocks management: obsolete?, Dmitry Antipov, 2012/06/21
- Re: Aligned blocks management: obsolete?, Eli Zaretskii, 2012/06/21
- Re: Aligned blocks management: obsolete?, Richard Stallman, 2012/06/21
- Re: Aligned blocks management: obsolete?, Eli Zaretskii, 2012/06/20
- Re: Aligned blocks management: obsolete?, Dmitry Antipov, 2012/06/20
- Re: Aligned blocks management: obsolete?, Eli Zaretskii, 2012/06/21
- Re: Aligned blocks management: obsolete?, Wolfgang Jenkner, 2012/06/20
- Re: Aligned blocks management: obsolete?, Dmitry Antipov, 2012/06/20
Re: Aligned blocks management: obsolete?, Paul Eggert, 2012/06/20