mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 00:57:19 +03:00
Edata: Move sn into its own field.
This lets the bins use a fragmentation avoidance policy that matches the HPA's (without affecting the PAC).
This commit is contained in:
parent
fb327368db
commit
d21d5b46b6
4 changed files with 19 additions and 31 deletions
|
|
@ -91,7 +91,7 @@ edata_expect(edata_t *edata, size_t page_offset, size_t page_cnt) {
|
|||
expect_false(edata_slab_get(edata), "");
|
||||
expect_u_eq(SC_NSIZES, edata_szind_get_maybe_invalid(edata),
|
||||
"");
|
||||
expect_zu_eq(0, edata_sn_get(edata), "");
|
||||
expect_u64_eq(0, edata_sn_get(edata), "");
|
||||
expect_d_eq(edata_state_get(edata), extent_state_active, "");
|
||||
expect_false(edata_zeroed_get(edata), "");
|
||||
expect_true(edata_committed_get(edata), "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue