commit | 21ddfd38ee9aac804d22beaceed4c7b903cca234 | [log] [tgz] |
---|---|---|
author | Jianyu Zhan <nasa4836@gmail.com> | Fri Mar 28 20:55:21 2014 +0800 |
committer | Tejun Heo <tj@kernel.org> | Sat Mar 29 09:29:42 2014 -0400 |
tree | a4d853bdc3b274be013aa97d6378acbf2f995d88 | |
parent | 2f69fa829cb4ca062aaffee9ab9eb44484db75b1 [diff] |
percpu: renew the max_contig if we merge the head and previous block During pcpu_alloc_area(), we might merge the current head with the previous block. Since we have calculated the max_contig using the size of previous block before we skip it, and now we update the size of previous block, so we should renew the max_contig. Signed-off-by: Jianyu Zhan <nasa4836@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>