Further reductions to codeblock_t size - replace link pointers with uint16_t block indicies, shrink ins to uint8_t, remove endpc. codeblock_t now fits in a 64-byte cacheline on 32-bit platforms.
This commit is contained in:
parent
2007c25177
commit
9ff1c7f409
9 changed files with 186 additions and 160 deletions
|
|
@ -119,10 +119,10 @@ typedef struct page_t
|
|||
|
||||
uint8_t *mem;
|
||||
|
||||
struct codeblock_t *block[4], *block_2[4];
|
||||
uint16_t block[4], block_2[4];
|
||||
|
||||
/*Head of codeblock tree associated with this page*/
|
||||
struct codeblock_t *head;
|
||||
uint16_t head;
|
||||
|
||||
uint64_t code_present_mask[4], dirty_mask[4];
|
||||
} page_t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue