lkml.org 
[lkml]   [2014]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] mm/percpu.c: renew the max_contig if we merge the head and previous block
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@gmail.com>

Applied to percpu/for-3.15.

Thanks!

--
tejun


\
 
 \ /
  Last update: 2014-03-29 15:01    [W:0.047 / U:1.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site