Skip to contentSkip to conversation

tlb flush cleanup

PATCH In review Igor Kovalenko 2 participants 2 messages Jul 11, 2009 – Jul 12, 2009

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
Quoted 3 lines · Igor Kovalenko

Use static empty variable s_cputlb_empty_entry to 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?