Thomas Wood
42b02c284e
lib: add a function to lock memory into RAM
...
Add a function to lock memory into RAM and use it in the
gem_tiled_swapping test to reduce the amount of allocated memory
required to force swapping. This also reduces the amount of time
required for the test to complete, since the data set is smaller.
The following durations were recorded with gem_tiled_swapping on a
haswell system before the change:
Subtest non-threaded: SUCCESS (55.889s)
Subtest threaded: SUCCESS (810.532s)
and after:
Subtest non-threaded: SUCCESS (11.804s)
Subtest threaded: SUCCESS (268.336s)
v2: add various assertions and requirements and make sure
gem_tiled_swapping works on systems with less RAM (Daniel Vetter)
v3: fix allocation size calculation
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-12-11 17:57:03 +00:00
..
2014-12-05 14:34:33 +00:00
2014-12-10 17:11:35 +00:00
2014-12-10 17:11:35 +00:00
2014-12-01 13:53:00 +00:00
2012-04-10 16:23:18 +02:00
2014-03-22 21:07:37 +01:00
2014-11-06 13:24:29 +00:00
2014-11-06 13:24:29 +00:00
2014-11-06 13:24:29 +00:00
2013-08-21 23:18:00 +02:00
2013-07-01 18:54:40 +02:00
2013-07-01 18:54:40 +02:00
2014-09-19 09:32:14 +02:00
2014-11-06 13:24:30 +00:00
2014-12-08 07:58:13 +00:00
2014-08-30 11:44:51 +01:00
2014-03-22 21:34:29 +01:00
2014-03-22 21:34:29 +01:00
2014-12-04 16:07:55 +00:00
2013-11-04 19:49:10 +01:00
2014-12-09 17:10:42 +00:00
2014-09-06 17:26:21 +01:00
2014-07-10 19:55:07 +02:00
2014-05-14 00:36:04 +02:00
2014-12-08 19:26:39 +02:00
2014-05-14 12:33:02 +01:00
2014-08-30 11:44:51 +01:00
2014-08-30 11:44:51 +01:00
2014-08-30 11:44:51 +01:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:48:06 +00:00
2014-05-14 00:36:04 +02:00
2014-12-04 16:07:55 +00:00
2014-07-12 09:13:12 +01:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-14 09:56:53 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-10-02 11:34:55 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-08-29 13:20:36 +01:00
2014-11-12 13:43:04 +01:00
2014-05-14 00:36:04 +02:00
2014-11-04 12:08:50 +00:00
2014-06-21 15:40:25 +01:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-12-04 10:17:24 +08:00
2014-12-04 16:07:55 +00:00
2014-09-03 12:03:56 +01:00
2014-11-04 12:08:50 +00:00
2014-10-02 11:34:55 +02:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-11-04 12:08:50 +00:00
2014-12-04 16:07:55 +00:00
2014-11-04 12:08:50 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-10-02 11:34:55 +02:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-11-04 12:08:50 +00:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-11-11 17:38:46 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-08-30 11:44:51 +01:00
2014-12-08 19:26:39 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-22 09:07:45 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-08 19:26:39 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-14 09:56:53 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-11 17:57:03 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-11-17 15:12:52 +01:00
2014-10-06 18:58:03 +01:00
2014-10-23 20:41:18 +03:00
2014-12-04 16:07:55 +00:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-09-30 16:46:28 +03:00
2014-12-09 22:35:36 +02:00
2014-11-24 16:29:27 +01:00
2014-11-06 13:24:29 +00:00
2014-11-06 13:24:29 +00:00
2014-12-04 16:07:55 +00:00
2014-12-08 19:26:39 +02:00
2014-12-04 16:07:55 +00:00
2014-12-09 20:41:18 +02:00
2014-11-24 16:29:27 +01:00
2014-09-30 16:46:28 +03:00
2014-11-04 12:08:50 +00:00
2014-11-24 16:29:27 +01:00
2014-11-18 15:17:43 +01:00
2014-11-24 16:29:27 +01:00
2014-09-30 16:46:28 +03:00
2014-11-06 13:25:03 +00:00
2013-11-04 19:49:10 +01:00
2014-11-24 16:29:27 +01:00
2014-11-12 10:39:41 +00:00
2014-12-05 14:34:33 +00:00
2014-05-16 10:33:28 +02:00
2012-08-08 08:51:55 +02:00
2014-09-30 16:46:28 +03:00
2014-10-14 10:22:21 -07:00
2014-11-14 00:18:30 +02:00
2014-12-08 12:36:59 +02:00
2014-05-14 10:44:16 +02:00
2014-08-30 11:44:51 +01:00
2014-11-04 17:25:33 +01:00
2014-12-04 16:07:55 +00:00
2014-03-22 21:34:29 +01:00
2014-09-30 17:54:02 +01:00
2013-11-01 21:10:59 +01:00
2014-07-23 21:03:07 +02:00
2014-06-13 18:27:59 +02:00
2014-11-06 13:24:30 +00:00
2012-01-24 10:50:10 +01:00
2014-07-23 21:03:07 +02:00
2012-01-15 16:05:43 +01:00