Peter Xu cedb70eafb migration: Use non-atomic ops for clear log bitmap
Since we already have bitmap_mutex to protect either the dirty bitmap or
the clear log bitmap, we don't need atomic operations to set/clear/test on
the clear log bitmap.  Switching all ops from atomic to non-atomic
versions, meanwhile touch up the comments to show which lock is in charge.

Introduced non-atomic version of bitmap_test_and_clear_atomic(), mostly the
same as the atomic version but simplified a few places, e.g. dropped the
"old_bits" variable, and also the explicit memory barriers.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2022-11-21 11:58:10 +01:00
..
2022-04-28 08:51:56 +02:00
2022-10-30 15:15:12 -04:00
2022-03-04 08:50:41 -10:00
2022-07-13 16:58:57 +02:00
2020-12-10 12:15:18 -05:00
2016-06-07 18:19:23 +03:00
2017-10-16 20:57:13 +03:00
2020-10-15 16:06:27 +02:00
2022-10-07 12:11:41 +02:00
2022-04-20 10:51:11 -07:00
2019-09-11 08:46:17 +02:00
2020-12-10 17:16:44 +01:00
2022-04-21 17:03:51 +04:00
Hi,
2022-10-30 18:31:59 -04:00
2018-09-26 08:55:54 -07:00
2019-04-18 22:18:59 +02:00
2022-03-04 18:14:40 +01:00
Hi,
2022-10-30 18:31:59 -04:00
2016-02-23 12:43:05 +00:00
2018-08-24 20:26:37 +02:00
2016-09-15 15:32:22 +03:00
2021-04-01 15:27:44 +04:00