Closed ramosian-glider closed 4 years ago
Making __kfence_pool_start an array in the data section allows us to check whether an address belongs to it or not without doing memory loads.
This also required fixing kfence_force_4k_pages(), which didn't work initially.
Signed-off-by: Alexander Potapenko glider@google.com
Making __kfence_pool_start an array in the data section allows us to check whether an address belongs to it or not without doing memory loads.
This also required fixing kfence_force_4k_pages(), which didn't work initially.
Signed-off-by: Alexander Potapenko glider@google.com