diff options
| author | Alex Williamson <[email protected]> | 2012-12-10 10:33:03 -0700 |
|---|---|---|
| committer | Marcelo Tosatti <[email protected]> | 2012-12-13 23:21:53 -0200 |
| commit | b7f69c555ca430129b6cde81e9f0927531420c5c (patch) | |
| tree | 7b325611705e6293ce1fe3c87eeeb30746e2fe0e /include/linux/debugobjects.h | |
| parent | e40f193f5bb022e927a57a4f5d5194e4f12ddb74 (diff) | |
KVM: Minor memory slot optimization
If a slot is removed or moved in the guest physical address space, we
first allocate and install a new slot array with the invalidated
entry. The old array is then freed. We then proceed to allocate yet
another slot array to install the permanent replacement. Re-use the
original array when this occurs and avoid the extra kfree/kmalloc.
Reviewed-by: Gleb Natapov <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions