[PATCH] [v8] malloc: Consistently apply trim_threshold to all heaps [BZ #17195]

Mike Frysinger vapier@gentoo.org
Mon Mar 2 01:54:00 GMT 2015


On 25 Feb 2015 10:35, Mel Gorman wrote:
> +  /* Uses similar logic for per-thread arenas as the main arena with systrim
> +     by preserving the top pad and at least a page. */

two spaces after the period

> +  extra = (top_area - pad) & ~(pagesz - 1);

we have ALIGN_UP/ALIGN_DOWN macros now
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150302/4cf02335/attachment.sig>


More information about the Libc-alpha mailing list