Commit a54a8dba authored by Vincent Donnefort's avatar Vincent Donnefort
Browse files

ANDROID: KVM: arm64: Introduce hyp_alloc_account for the pKVM hyp



Add a new interface for the pKVM hyp heap allocator, hyp_alloc_account()
and hyp_free_account(). When used the memory allocated and freed is
accounted against a host shared counter protected_hyp_mem.

This intends to later report detailed memory footprint of the hypervisor
to the host.

Bug: 278749606
Bug: 222044477
Change-Id: I76bc8a2a5e4fb59bf5fd40aa666d2467b6faeb17
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
parent 68404834
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment