Add a stub PA module -- a page allocator.
This commit is contained in:
parent
c4e9ea8cc6
commit
12be9f5727
@ -125,6 +125,7 @@ C_SRCS := $(srcroot)src/jemalloc.c \
|
|||||||
$(srcroot)src/mutex.c \
|
$(srcroot)src/mutex.c \
|
||||||
$(srcroot)src/mutex_pool.c \
|
$(srcroot)src/mutex_pool.c \
|
||||||
$(srcroot)src/nstime.c \
|
$(srcroot)src/nstime.c \
|
||||||
|
$(srcroot)src/pa.c \
|
||||||
$(srcroot)src/pages.c \
|
$(srcroot)src/pages.c \
|
||||||
$(srcroot)src/prng.c \
|
$(srcroot)src/prng.c \
|
||||||
$(srcroot)src/prof.c \
|
$(srcroot)src/prof.c \
|
||||||
|
9
include/jemalloc/internal/pa.h
Normal file
9
include/jemalloc/internal/pa.h
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#ifndef JEMALLOC_INTERNAL_PA_H
|
||||||
|
#define JEMALLOC_INTERNAL_PA_H
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The page allocator; responsible for acquiring pages of memory for
|
||||||
|
* allocations.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#endif /* JEMALLOC_INTERNAL_PA_H */
|
@ -66,6 +66,7 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\mutex.c" />
|
<ClCompile Include="..\..\..\..\src\mutex.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\mutex_pool.c" />
|
<ClCompile Include="..\..\..\..\src\mutex_pool.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\nstime.c" />
|
<ClCompile Include="..\..\..\..\src\nstime.c" />
|
||||||
|
<ClCompile Include="..\..\..\..\src\pa.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\pages.c" />
|
<ClCompile Include="..\..\..\..\src\pages.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\prng.c" />
|
<ClCompile Include="..\..\..\..\src\prng.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\prof.c" />
|
<ClCompile Include="..\..\..\..\src\prof.c" />
|
||||||
|
@ -82,6 +82,9 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\nstime.c">
|
<ClCompile Include="..\..\..\..\src\nstime.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\..\src\pa.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\pages.c">
|
<ClCompile Include="..\..\..\..\src\pages.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -66,6 +66,7 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\mutex.c" />
|
<ClCompile Include="..\..\..\..\src\mutex.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\mutex_pool.c" />
|
<ClCompile Include="..\..\..\..\src\mutex_pool.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\nstime.c" />
|
<ClCompile Include="..\..\..\..\src\nstime.c" />
|
||||||
|
<ClCompile Include="..\..\..\..\src\pa.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\pages.c" />
|
<ClCompile Include="..\..\..\..\src\pages.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\prng.c" />
|
<ClCompile Include="..\..\..\..\src\prng.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\prof.c" />
|
<ClCompile Include="..\..\..\..\src\prof.c" />
|
||||||
|
@ -82,6 +82,9 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\nstime.c">
|
<ClCompile Include="..\..\..\..\src\nstime.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\..\src\pa.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\pages.c">
|
<ClCompile Include="..\..\..\..\src\pages.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
Loading…
Reference in New Issue
Block a user