tlb flush cleanup
PATCH 1/1 tlb flush cleanup
Use static empty variable s_cputlb_empty_entry to clear entries, also reset addend member when clearing entries.
This helps running with valgrind/memcheck
Signed-off-by [email protected]
Signature · 2 lines
Kind regards, Igor V. Kovalenko
Quoted 3 lines · Igor Kovalenko
Use static empty variable
s_cputlb_empty_entryto clear entries,
also reset addend member when clearing entries.
This helps running with valgrind/memcheck
With this approach, the empty entry could be const. But can't we use memset(x, 0xff, size) for the entries?