Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF4BF-QPe6NFrEaYhJOvpZ4=bP8d03g1yMQvK_1As+GNPmAruA@mail.gmail.com>
Date: Mon, 30 Jul 2018 15:22:42 -0400
From: Christopher Friedt <chrisfriedt@...il.com>
To: musl@...ts.openwall.com
Subject: Re: malloc implementation survey: omalloc

On Mon, Jul 30, 2018, 3:14 PM Christopher Friedt, <chrisfriedt@...il.com>
wrote:

> For a 4096-byte page, on a 32-bit system, that would be 4 + 4 + 256 = 304
> bytes of overhead.
>

Sorry, today is a bad day for math.

For 4096 byte pages on a 32-bit system, U = 4096 = 2^12, n = 12-3+1 = 10.
So the overhead is 4 + 4 + 128 = 136 bytes.

>

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.