diff options
| author | David Hildenbrand <[email protected]> | 2020-11-12 14:37:57 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2020-12-18 16:14:26 -0500 |
| commit | 989ff82527074b79bc89ba1c390be1eda01784a5 (patch) | |
| tree | 2f1af38c9dba0fa7aa3a87170c42c19d6cef45fa /tools/perf/scripts/python | |
| parent | f2d799d591359685a3a74d28c2989c56f4bb9898 (diff) | |
virtio-mem: generalize check for added memory
Let's check by traversing busy system RAM resources instead, to avoid
relying on memory block states.
Don't use walk_system_ram_range(), as that works on pages and we want to
use the bare addresses we have easily at hand.
This is a preparation for Big Block Mode (BBM), which won't have memory
block states.
Reviewed-by: Wei Yang <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Pankaj Gupta <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions