diff options
author | Dennis Zhou (Facebook) <dennisszhou@gmail.com> | 2017-07-25 01:02:15 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-07-26 23:41:05 +0200 |
commit | 268625a6f9df6a7c9b0ae7707a8a1cd5a9993bd2 (patch) | |
tree | 4f178b5e62a183be1c23a5d058c6eecedbfd67d5 /Documentation/i2c | |
parent | percpu: skip chunks if the alloc does not fit in the contig hint (diff) | |
download | linux-268625a6f9df6a7c9b0ae7707a8a1cd5a9993bd2.tar.xz linux-268625a6f9df6a7c9b0ae7707a8a1cd5a9993bd2.zip |
percpu: keep track of the best offset for contig hints
This patch makes the contig hint starting offset optimization from the
previous patch as honest as it can be. For both chunk and block starting
offsets, make sure it keeps the starting offset with the best alignment.
The block skip optimization is added in a later patch when the
pcpu_find_block_fit iterator is swapped in.
Signed-off-by: Dennis Zhou <dennisszhou@gmail.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions