Dennis Zhou
b239f7daf5
percpu: set PCPU_BITMAP_BLOCK_SIZE to PAGE_SIZE
...
Previously, block size was flexible based on the constraint that the
GCD(PCPU_BITMAP_BLOCK_SIZE, PAGE_SIZE) > 1. However, this carried the
overhead that keeping a floating number of populated free pages required
scanning over the free regions of a chunk.
Setting the block size to be fixed at PAGE_SIZE lets us know when an
empty page becomes used as we will break a full contig_hint of a block.
This means we no longer have to scan the whole chunk upon breaking a
contig_hint which empty page management piggybacked off. A later patch
takes advantage of this to optimize the allocation path by only scanning
forward using the scan_hint introduced later too.
Signed-off-by: Dennis Zhou <dennis@kernel.org >
Reviewed-by: Peng Fan <peng.fan@nxp.com >
2019-03-13 12:25:31 -07:00
..
2018-03-31 01:33:09 +08:00
2019-03-05 18:55:17 +01:00
2018-03-21 13:58:08 +09:00
2019-03-06 09:41:12 -08:00
2019-02-06 22:17:42 -08:00
2019-03-06 10:22:26 -08:00
2019-03-06 20:34:20 -06:00
2019-03-08 10:02:58 -08:00
2019-03-09 15:53:03 -08:00
2019-03-12 09:46:32 -07:00
2018-12-20 08:53:23 -08:00
2019-03-03 23:45:27 +00:00
2019-03-08 14:48:40 -08:00
2019-03-10 14:08:19 -04:00
2019-03-08 09:27:33 -08:00
2019-03-06 10:46:29 -08:00
2019-03-05 21:07:21 -08:00
2019-03-05 21:07:14 -08:00
2018-10-31 08:54:12 -07:00
2019-03-07 18:32:00 -08:00
2019-03-09 16:53:47 -08:00
2019-03-08 21:17:07 +01:00
2018-10-02 22:20:50 -04:00
2019-03-07 18:31:59 -08:00
2019-03-07 12:20:11 -08:00
2017-11-02 11:10:55 +01:00
2019-03-07 10:11:41 -08:00
2019-03-05 21:07:20 -08:00
2017-11-02 11:10:55 +01:00
2018-10-19 07:53:18 +02:00
2019-03-07 18:32:01 -08:00
2019-03-05 14:53:50 -05:00
2019-03-10 11:54:48 -07:00
2019-03-10 12:47:57 -07:00
2019-03-07 18:32:00 -08:00
2019-03-10 10:17:23 -07:00
2018-01-01 12:40:27 -07:00
2019-02-22 12:55:31 -08:00
2019-03-06 07:59:36 -08:00
2019-03-05 21:07:18 -08:00
2017-11-02 11:10:55 +01:00
2019-03-12 14:08:19 -07:00
2019-03-12 10:04:02 -07:00
2019-03-05 21:07:16 -08:00
2019-03-12 10:04:00 -07:00
2019-03-05 21:07:19 -08:00
2019-03-09 19:52:47 -08:00
2014-05-14 16:40:04 -07:00
2017-10-19 16:54:49 -07:00
2019-03-03 21:05:10 -08:00
2019-03-08 10:09:53 -08:00
2019-03-08 10:09:53 -08:00
2019-03-05 21:07:13 -08:00
2017-11-02 11:10:55 +01:00
2019-03-04 13:42:05 +01:00
2017-11-02 11:10:55 +01:00
2019-03-07 18:31:59 -08:00
2019-03-12 14:08:19 -07:00
2019-03-05 21:07:15 -08:00
2019-03-06 08:14:05 -08:00
2019-03-11 12:13:42 -07:00
2019-03-07 18:31:59 -08:00
2019-03-05 21:07:16 -08:00
2019-03-12 14:08:19 -07:00
2019-03-07 18:32:03 -08:00
2019-02-05 11:51:56 -07:00
2019-03-12 10:04:02 -07:00
2019-03-05 21:07:17 -08:00
2019-03-11 17:08:14 -07:00
2019-03-09 15:53:03 -08:00
2019-03-12 10:04:01 -07:00
2018-04-05 21:36:27 -07:00
2019-03-05 21:07:21 -08:00
2019-03-10 13:16:37 -07:00
2019-03-09 09:56:17 -08:00
2017-11-02 11:10:55 +01:00
2017-11-15 13:46:33 -08:00
2018-03-24 11:25:35 -05:00
2019-03-07 18:31:59 -08:00
2019-02-16 13:45:01 -08:00
2019-03-02 12:54:35 -08:00
2019-03-01 16:20:16 -05:00
2019-03-01 16:20:16 -05:00
2019-03-01 16:20:16 -05:00
2019-03-05 21:07:20 -08:00
2018-07-08 11:13:25 +09:00
2019-03-05 21:07:19 -08:00
2019-03-05 21:07:20 -08:00
2019-03-10 12:29:52 -07:00
2019-03-13 12:25:31 -07:00
2019-03-03 21:47:57 -08:00
2019-03-07 18:31:59 -08:00
2019-03-08 10:09:53 -08:00
2019-03-06 12:59:46 -08:00
2019-03-12 10:04:03 -07:00
2019-03-09 09:22:42 -08:00
2019-03-07 18:32:03 -08:00
2019-02-06 11:58:33 -05:00
2019-03-07 12:20:11 -08:00
2017-11-02 11:10:55 +01:00
2019-03-12 14:08:19 -07:00
2018-11-27 19:44:21 +01:00
2019-03-05 21:07:18 -08:00
2019-03-11 08:54:01 -07:00
2019-03-05 21:07:14 -08:00
2019-02-03 11:17:31 -08:00
2018-10-09 11:20:55 +02:00
2018-12-22 22:50:29 -05:00
2019-03-05 21:07:21 -08:00
2019-03-10 12:47:57 -07:00
2019-03-08 14:48:40 -08:00
2018-02-06 18:32:47 -08:00
2019-03-07 18:31:59 -08:00
2019-03-06 11:19:57 -05:00
2019-03-06 11:19:15 -05:00
2017-11-02 11:10:55 +01:00
2019-03-07 08:46:07 -08:00
2019-03-06 14:52:48 -08:00
2018-12-07 22:26:37 -07:00