OSDN Git Service

migration/rdma: Split the zero page case from acct_update_position
authorJuan Quintela <quintela@redhat.com>
Thu, 27 Apr 2023 08:35:26 +0000 (10:35 +0200)
committerJuan Quintela <quintela@redhat.com>
Wed, 3 May 2023 09:24:20 +0000 (11:24 +0200)
commitc61d2faa934ecafbba42d5e410298115a483175e
tree2389d07bf9c6e3bf7fae1cf8efd93c482db24330
parent96820df24eadd81bfa18b4a1814a303bb87114b8
migration/rdma: Split the zero page case from acct_update_position

Now that we have atomic counters, we can do it on the place that we
need it, no need to do it inside ram.c.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Lukas Straub <lukasstraub2@web.de>
migration/ram.c
migration/ram.h
migration/rdma.c