Re: [PATCH 1/2] mm/percpu.c: renew the max_contig if we merge the head and previous block

From: Tejun Heo
Date: Sat Mar 29 2014 - 09:30:45 EST


On Fri, Mar 28, 2014 at 08:55:21PM +0800, Jianyu Zhan wrote:
> Hi, tj,
> I've reworked the patches on top of percpu/for-3.15.
>
> 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@xxxxxxxxx>

Applied to percpu/for-3.15.

Thanks!

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/