Marc-André Lureau
8e3b0cbb72
Replace qemu_real_host_page variables with inlined functions
...
Replace the global variables with inlined helper functions. getpagesize() is very
likely annotated with a "const" function attribute (at least with glibc), and thus
optimization should apply even better.
This avoids the need for a constructor initialization too.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-12-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-04-06 10:50:38 +02:00
..
2022-02-28 16:42:12 +00:00
2022-03-21 15:44:44 +01:00
2020-09-18 14:12:32 -04:00
2022-04-05 10:42:06 +02:00
2022-03-15 11:26:20 +01:00
2020-05-31 13:56:46 +02:00
2021-09-01 07:33:13 -04:00
2020-07-14 22:22:22 +02:00
2022-02-28 11:39:35 +01:00
2018-08-23 18:46:25 +02:00
2021-01-12 12:38:03 +01:00
2022-03-07 14:36:47 -05:00
2022-01-10 18:23:10 -05:00
2022-04-01 13:06:07 +02:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:15:16 +01:00
2016-12-20 21:52:12 +01:00
2021-10-23 20:28:56 +02:00
2020-08-21 06:30:06 -04:00
2021-10-15 15:51:33 -05:00
2020-10-04 18:36:23 +02:00
2022-04-06 10:50:38 +02:00
2020-09-17 20:37:55 +02:00
2020-08-21 06:18:30 -04:00
2020-09-09 17:17:00 +01:00
2022-03-22 14:40:51 +04:00
2022-01-21 16:01:31 -05:00
2021-05-01 11:45:35 -07:00
2021-11-22 18:41:21 -05:00
2017-05-10 10:19:24 +03:00
2020-02-07 15:15:16 +01:00
2021-11-30 22:25:58 +01:00
2013-09-09 14:17:56 -05:00
2020-08-21 06:30:39 -04:00
2021-02-24 11:05:21 +00:00
2021-02-18 07:48:22 -08:00
2021-02-09 20:53:56 +00:00
2021-01-29 17:07:53 +00:00
2020-12-15 12:53:16 -05:00
2020-08-21 06:30:14 -04:00
2020-03-06 10:05:24 +00:00
2021-03-24 14:24:40 +00:00
2022-01-12 14:09:06 +01:00
2021-10-20 16:26:19 -07:00
2022-02-21 10:35:54 +01:00
2022-03-15 11:26:20 +01:00
2021-10-14 09:50:56 +02:00
2020-08-21 06:30:17 -04:00
2022-03-22 14:46:17 +04:00
2021-07-09 18:20:27 +02:00
2022-03-22 09:40:54 +01:00
2022-03-18 10:55:15 +00:00
2020-10-10 11:37:47 +02:00
2022-03-29 00:51:55 +02:00
2021-01-12 12:38:03 +01:00
2021-07-12 17:37:06 +01:00
2020-10-12 11:50:23 -04:00
2013-09-30 09:44:35 +02:00
2022-01-21 16:01:31 -05:00
2020-11-15 17:04:40 +01:00
2017-05-10 10:19:24 +03:00
2020-02-07 15:15:16 +01:00
2021-06-02 06:51:09 +02:00
2020-09-08 07:17:09 +02:00
2021-01-04 14:24:58 +00:00
2020-08-31 08:23:39 +02:00
2020-10-22 11:53:52 -04:00
2022-03-06 05:08:23 -05:00
2021-07-13 13:59:59 +02:00
2020-03-20 16:02:00 +01:00
2021-02-08 11:19:51 +00:00
2020-02-07 15:15:16 +01:00