diff options
| author | Vladimir Kondratiev <[email protected]> | 2025-12-08 14:56:17 +0200 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-12-27 10:42:44 +0530 |
| commit | 19f0c8351213466cce5c15fdfe35749362fe3469 (patch) | |
| tree | 2221dd627ad5133040f033c356290610fb215788 /include/sbi_utils | |
| parent | fbb5fe811d453c11dbcacf8cfe2fa7e445834475 (diff) | |
lib/sbi: optimize domain memory regions copying
There are 2 locations where memory regions moved in a bulk,
but this implemented in a region-by region move or even swap.
Use more effective way. Note, last entry, dom->regions[count], always
exists and is empty, copying it replaces clear_region()
Signed-off-by: Vladimir Kondratiev <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi_utils')
0 files changed, 0 insertions, 0 deletions
