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