Move extent2 -> extent.

Eventually, we may fully break off the extent module; but not for some time.  If
it's going to live on in a non-transitory state, it might as well have the nicer
name.
This commit is contained in:
David Goldblatt 2019-12-16 11:05:07 -08:00 committed by David Goldblatt
parent 2f4fa80414
commit e210ccc57e
6 changed files with 7 additions and 12 deletions

View File

@ -109,7 +109,7 @@ C_SRCS := $(srcroot)src/jemalloc.c \
$(srcroot)src/edata_cache.c \ $(srcroot)src/edata_cache.c \
$(srcroot)src/ehooks.c \ $(srcroot)src/ehooks.c \
$(srcroot)src/eset.c \ $(srcroot)src/eset.c \
$(srcroot)src/extent2.c \ $(srcroot)src/extent.c \
$(srcroot)src/extent_dss.c \ $(srcroot)src/extent_dss.c \
$(srcroot)src/extent_mmap.c \ $(srcroot)src/extent_mmap.c \
$(srcroot)src/hash.c \ $(srcroot)src/hash.c \

View File

@ -1,5 +1,5 @@
#ifndef JEMALLOC_INTERNAL_EXTENT2_H #ifndef JEMALLOC_INTERNAL_EXTENT_H
#define JEMALLOC_INTERNAL_EXTENT2_H #define JEMALLOC_INTERNAL_EXTENT_H
#include "jemalloc/internal/ecache.h" #include "jemalloc/internal/ecache.h"
#include "jemalloc/internal/ehooks.h" #include "jemalloc/internal/ehooks.h"
@ -10,11 +10,6 @@
* This module contains the page-level allocator. It chooses the addresses that * This module contains the page-level allocator. It chooses the addresses that
* allocations requested by other modules will inhabit, and updates the global * allocations requested by other modules will inhabit, and updates the global
* metadata to reflect allocation/deallocation/purging decisions. * metadata to reflect allocation/deallocation/purging decisions.
*
* The naming ("extent2" for the module, and "extent_" or "extents_" for most of
* the functions) is historical. Eventually, the naming should be updated to
* reflect the functionality. Similarly, the utilization stats live here for no
* particular reason. This will also be changed, but much more immediately.
*/ */
/* /*
@ -61,4 +56,4 @@ bool extent_merge_wrapper(tsdn_t *tsdn, ehooks_t *ehooks,
bool extent_boot(void); bool extent_boot(void);
#endif /* JEMALLOC_INTERNAL_EXTENT2_H */ #endif /* JEMALLOC_INTERNAL_EXTENT_H */

View File

@ -1,7 +1,7 @@
#ifndef JEMALLOC_INTERNAL_INLINES_B_H #ifndef JEMALLOC_INTERNAL_INLINES_B_H
#define JEMALLOC_INTERNAL_INLINES_B_H #define JEMALLOC_INTERNAL_INLINES_B_H
#include "jemalloc/internal/extent2.h" #include "jemalloc/internal/extent.h"
#include "jemalloc/internal/rtree.h" #include "jemalloc/internal/rtree.h"
/* Choose an arena based on a per-thread value. */ /* Choose an arena based on a per-thread value. */

View File

@ -49,7 +49,7 @@
<ClCompile Include="..\..\..\..\src\edata_cache.c" /> <ClCompile Include="..\..\..\..\src\edata_cache.c" />
<ClCompile Include="..\..\..\..\src\ehooks.c" /> <ClCompile Include="..\..\..\..\src\ehooks.c" />
<ClCompile Include="..\..\..\..\src\eset.c" /> <ClCompile Include="..\..\..\..\src\eset.c" />
<ClCompile Include="..\..\..\..\src\extent2.c" /> <ClCompile Include="..\..\..\..\src\extent.c" />
<ClCompile Include="..\..\..\..\src\extent_dss.c" /> <ClCompile Include="..\..\..\..\src\extent_dss.c" />
<ClCompile Include="..\..\..\..\src\extent_mmap.c" /> <ClCompile Include="..\..\..\..\src\extent_mmap.c" />
<ClCompile Include="..\..\..\..\src\hash.c" /> <ClCompile Include="..\..\..\..\src\hash.c" />

View File

@ -49,7 +49,7 @@
<ClCompile Include="..\..\..\..\src\edata_cache.c" /> <ClCompile Include="..\..\..\..\src\edata_cache.c" />
<ClCompile Include="..\..\..\..\src\ehooks.c" /> <ClCompile Include="..\..\..\..\src\ehooks.c" />
<ClCompile Include="..\..\..\..\src\eset.c" /> <ClCompile Include="..\..\..\..\src\eset.c" />
<ClCompile Include="..\..\..\..\src\extent2.c" /> <ClCompile Include="..\..\..\..\src\extent.c" />
<ClCompile Include="..\..\..\..\src\extent_dss.c" /> <ClCompile Include="..\..\..\..\src\extent_dss.c" />
<ClCompile Include="..\..\..\..\src\extent_mmap.c" /> <ClCompile Include="..\..\..\..\src\extent_mmap.c" />
<ClCompile Include="..\..\..\..\src\hash.c" /> <ClCompile Include="..\..\..\..\src\hash.c" />