]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clean up manipulation of chunk page map elements to remove some tenuous
authorJason Evans <jasone@FreeBSD.org>
Fri, 8 Feb 2008 00:35:56 +0000 (00:35 +0000)
committerJason Evans <jasone@FreeBSD.org>
Fri, 8 Feb 2008 00:35:56 +0000 (00:35 +0000)
commit97091a2dd7b844249276f59846ffe23ae62af8ee
treea29be0af0ec0b9e6d85ecda6d2c5093dd9c3500a
parentbc784cfe1b3a66a2e71187cbfbadd527e55f3112
Clean up manipulation of chunk page map elements to remove some tenuous
assumptions about whether bits are set at various times.  This makes
adding other flags safe.

Reorganize functions in order to inline i{m,c,p,s,re}alloc().  This
allows the entire fast-path call chains for malloc() and free() to be
inlined. [1]

Suggested by: [1] Stuart Parmenter <stuart@mozilla.com>
lib/libc/stdlib/malloc.c