diff options
author | David Hildenbrand <david@redhat.com> | 2020-11-12 14:37:49 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-12-18 16:14:25 -0500 |
commit | 20b9150225c8e9599999b4e161192d8a8d56a4cb (patch) | |
tree | d08873c2269b7245a1487b8a244fcfa73697d089 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 347202dc04a110bdab8d4e1c38ceccd7758fe13e (diff) |
virtio-mem: simplify MAX_ORDER - 1 / pageblock_order handling
Let's use pageblock_nr_pages and MAX_ORDER_NR_PAGES instead where
possible to simplify.
Add a comment why we have that restriction for now.
Reviewed-by: Wei Yang <richard.weiyang@linux.alibaba.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20201112133815.13332-4-david@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions