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:
SarahW 2018-11-29 20:05:12 +00:00
commit 9ff1c7f409
9 changed files with 186 additions and 160 deletions

View file

@ -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;