Skip to content

dc_ext_t: Reduce size of dc_ext_t from 64B to 56B#42

Open
guoren83 wants to merge 1 commit intozero-day-labs:mainfrom
guoren83:reduce_dc_ext_t
Open

dc_ext_t: Reduce size of dc_ext_t from 64B to 56B#42
guoren83 wants to merge 1 commit intozero-day-labs:mainfrom
guoren83:reduce_dc_ext_t

Conversation

@guoren83
Copy link
Copy Markdown

The reserved field of dc_ext_t is useless, because ar_len & cdw_pptr_n do not require it for context directory walk. But it would increase the size of DDTC by about DDTC_ENTRIES*8 Bytes. So, this patch removes it.

Signedeoff-by: Guo Ren (Alibaba DAMO Academy) guoren@kernel.org

The reserved field of dc_ext_t is useless, because ar_len &
cdw_pptr_n do not require it for context directory walk. But it
would increase the size of DDTC by about DDTC_ENTRIES*8 Bytes.
So, this patch removes it.

Signedeoff-by: Guo Ren (Alibaba DAMO Academy) <guoren@kernel.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant