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
..
2019-08-16 13:31:53 +02:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2020-02-28 16:14:57 +00:00
2021-05-02 17:24:51 +02:00
2022-01-20 11:47:52 +00:00
2020-11-15 16:42:14 +01:00
2022-01-28 14:29:47 +00:00
2021-12-15 10:11:34 +00:00
2022-03-07 13:16:50 +00:00
2022-03-07 13:16:50 +00:00
2021-11-22 18:17:19 +00:00
2021-09-13 16:07:54 +01:00
2022-03-25 14:41:06 +00:00
2021-11-15 16:12:59 +00:00
2022-01-28 14:29:47 +00:00
2022-03-07 13:16:50 +00:00
2021-09-01 11:08:18 +01:00
2019-08-16 13:31:52 +02:00
2022-02-21 13:30:20 +00:00
2022-02-21 13:30:20 +00:00
2021-03-19 15:18:43 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2022-02-08 10:56:29 +00:00
2021-11-09 10:11:27 +01:00
2021-05-02 17:24:51 +02:00
2019-08-16 13:31:52 +02:00
2022-01-27 12:08:50 +01:00
2021-03-19 08:48:18 -04:00
2019-08-16 13:31:52 +02:00
2021-05-02 17:24:50 +02:00
2022-01-27 12:08:50 +01:00
2021-01-08 15:13:38 +00:00
2022-03-18 10:55:15 +00:00
2021-02-21 18:41:46 +01:00
2021-11-09 10:11:27 +01:00
2022-03-18 10:55:15 +00:00
2020-01-24 20:59:15 +01:00
2020-09-09 13:20:22 -04:00
2021-05-02 17:24:50 +02:00
2021-09-30 15:30:24 +02:00
2021-09-30 12:26:06 +10:00
2020-09-18 14:12:32 -04:00
2022-03-02 06:51:39 +01:00
2022-03-02 06:51:39 +01:00
2019-03-12 14:33:04 +11:00
2022-03-02 06:51:39 +01:00
2021-06-05 21:10:42 +02:00
2020-07-10 15:18:08 +02:00
2022-03-21 15:44:44 +01:00
2022-02-16 12:24:19 +10:00
2022-03-03 13:14:50 +10:00
2020-11-23 10:41:58 +00:00
2022-04-06 10:50:38 +02:00
2021-05-02 17:24:51 +02:00
2021-10-30 18:39:37 +02:00
2022-01-21 15:52:56 +10:00
2020-09-18 14:12:32 -04:00
2021-10-21 11:42:47 +11:00
2022-03-02 06:51:39 +01:00
2022-03-07 13:16:50 +00:00
2020-08-21 06:18:24 -04:00
2021-05-02 17:24:51 +02:00
2020-11-15 16:38:24 +01:00
2021-05-02 17:24:51 +02:00
2022-03-21 15:44:44 +01:00
2020-09-09 09:27:09 -04:00
2022-03-14 15:57:17 +01:00
2022-03-02 06:51:39 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00