David Hildenbrand
dba506788b
util/oslib-posix: Introduce and use MemsetContext for touch_all_pages()
...
Let's minimize the number of global variables to prepare for
os_mem_prealloc() getting called concurrently and make the code a bit
easier to read.
The only consumer that really needs a global variable is the sigbus
handler, which will require protection via a mutex in the future either way
as we cannot concurrently mess with the SIGBUS handler.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20211217134611.31172-4-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-01-07 05:19:55 -05:00
..
2021-07-21 13:47:50 +01:00
2020-03-09 16:45:16 +00:00
2020-09-23 16:07:44 +01:00
2021-07-21 13:47:50 +01:00
2021-07-21 13:47:50 +01:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2020-09-23 16:07:44 +01:00
2020-10-23 13:42:16 +01:00
2020-10-23 13:42:16 +01:00
2020-11-15 17:04:40 +01:00
2020-04-01 14:24:03 -04:00
2021-01-21 13:00:41 +01:00
2021-01-07 05:09:41 -10:00
2021-10-13 10:47:49 +02:00
2021-01-26 14:36:37 +01:00
2020-07-13 11:40:52 +02:00
2021-01-24 20:10:54 +01:00
2021-05-13 18:06:40 +02:00
2020-01-06 18:41:32 +04:00
2020-07-13 14:36:10 +01:00
2019-12-18 08:36:16 +01:00
2021-02-16 17:15:39 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 13:45:52 +01:00
2021-02-07 20:38:20 +00:00
2020-11-15 17:04:40 +01:00
2020-11-15 17:04:40 +01:00
2020-06-26 06:45:29 -04:00
2021-07-09 18:42:46 +02:00
2020-03-18 14:03:46 -04:00
2020-09-29 02:14:30 -04:00
2021-10-27 17:10:00 -07:00
2021-03-09 21:47:45 +01:00
2021-02-03 08:00:33 -06:00
2021-11-02 15:57:21 +01:00
2021-07-06 08:33:51 +02:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2021-07-05 11:40:32 +01:00
2021-10-14 09:50:57 +02:00
2021-07-06 18:05:16 -04:00
2021-07-09 18:20:27 +02:00
2020-12-10 17:16:44 +01:00
2021-06-13 17:42:40 -07:00
2022-01-07 05:19:55 -05:00
2021-06-19 14:51:51 -07:00
2021-06-25 14:24:24 +03:00
2021-07-22 14:44:47 +02:00
2019-10-25 14:38:29 +02:00
2021-03-31 10:44:21 +01:00
2021-05-21 18:22:33 +01:00
2020-09-23 16:07:44 +01:00
2021-02-01 10:50:55 +00:00
2021-09-15 14:42:48 +02:00
2021-10-15 16:11:22 +02:00
2020-10-09 07:08:19 +02:00
2020-09-17 20:38:42 +02:00
2021-09-30 15:30:25 +02:00
2021-10-14 09:50:57 +02:00
2021-06-16 15:03:26 +02:00
2021-01-18 10:05:06 +00:00
2021-04-12 12:27:14 +10:00
2020-09-23 16:07:44 +01:00
2021-07-21 07:45:38 -10:00
2021-11-10 13:20:15 +01:00
2021-01-04 11:13:39 +00:00
2021-07-26 07:06:49 -10:00
2020-09-23 16:07:44 +01:00
2020-05-04 14:54:35 -05:00
2020-05-04 16:07:43 +01:00
2021-01-08 15:13:38 +00:00
2021-07-09 18:20:27 +02:00
2020-08-21 06:18:24 -04:00
2021-11-16 09:43:44 +01:00
2021-07-09 12:26:05 +02:00
2021-02-08 11:19:51 +00:00
2021-09-07 09:08:24 +01:00
2020-10-23 13:42:16 +01:00
2021-04-01 15:27:44 +04:00