Files
linux-st/include/linux
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-02-28 09:16:12 +01:00
2019-03-06 10:46:29 -08:00
2019-02-24 08:20:17 -07:00
2019-02-27 17:22:50 +01:00
2019-02-28 03:28:53 -05:00
2019-02-28 08:24:23 -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-09 19:52:47 -08:00
2019-02-24 08:20:17 -07:00
2019-03-07 18:32:03 -08:00
2019-03-12 10:04:01 -07:00
2019-03-05 21:07:19 -08:00
2019-03-03 21:47:57 -08:00
2019-03-12 10:04:03 -07:00
2019-02-25 21:20:45 +01:00
2019-02-26 12:53:55 +01:00