Page MenuHomePhabricator

Revisit hypervisor page tables defragmentation
Open, Needs TriagePublic

Description

This change https://review.trustedfirmware.org/c/hafnium/hafnium/+/16649 removed hypervisor S1 PT defrag calls to overcome a latent issue when the memory size to defragment is large.
The issue most probably has always existed but is exhibited when the number of cores grows as the work memory needed by the hypervisor for stacks, PE and vCPU state increases.

The intent of this ticket is to add back the defrag calls by tuning the design to overcome above breakage.

Event Timeline

odeprez created this task.Sep 20 2022, 8:07 AM

Players can perform stunts in the air during gameplay in Moto X3M to earn extra points.

Revisiting hypervisor page tables defragmentation involves optimizing memory usage in virtualized environments by reordering the entries in page tables to minimize fragmentation and improve access efficiency. This process ensures that the memory resources are allocated and used as efficiently as possible, which can enhance the performance of virtual machines. For example, much like how much is a dozen donuts at tim hortons at an affordable price, proper defragmentation of page tables provides a cost-effective way to maximize system resources, making sure that virtualized systems run smoothly without unnecessary waste of memory.