Re: [RESEND PATCH 1/1] mm/percpu.c: correct max_distance calculation for pcpu_embed_first_chunk()

2016-09-29 Thread zijun_hu
On 2016/9/29 18:35, Tejun Heo wrote: > Hello, > > On Sat, Sep 24, 2016 at 07:20:49AM +0800, zijun_hu wrote: >> it is error to represent the max range max_distance spanned by all the >> group areas as the offset of the highest group area plus unit size in >> pcpu_embed_first_chunk(), it should

Re: [RESEND PATCH 1/1] mm/percpu.c: correct max_distance calculation for pcpu_embed_first_chunk()

2016-09-29 Thread zijun_hu
On 2016/9/29 18:35, Tejun Heo wrote: > Hello, > > On Sat, Sep 24, 2016 at 07:20:49AM +0800, zijun_hu wrote: >> it is error to represent the max range max_distance spanned by all the >> group areas as the offset of the highest group area plus unit size in >> pcpu_embed_first_chunk(), it should

Re: [RESEND PATCH 1/1] mm/percpu.c: correct max_distance calculation for pcpu_embed_first_chunk()

2016-09-29 Thread Tejun Heo
Hello, On Sat, Sep 24, 2016 at 07:20:49AM +0800, zijun_hu wrote: > it is error to represent the max range max_distance spanned by all the > group areas as the offset of the highest group area plus unit size in > pcpu_embed_first_chunk(), it should equal to the offset plus the size > of the

Re: [RESEND PATCH 1/1] mm/percpu.c: correct max_distance calculation for pcpu_embed_first_chunk()

2016-09-29 Thread Tejun Heo
Hello, On Sat, Sep 24, 2016 at 07:20:49AM +0800, zijun_hu wrote: > it is error to represent the max range max_distance spanned by all the > group areas as the offset of the highest group area plus unit size in > pcpu_embed_first_chunk(), it should equal to the offset plus the size > of the

Re: [RESEND PATCH 1/1] mm/percpu.c: correct max_distance calculation for pcpu_embed_first_chunk()

2016-09-23 Thread zijun_hu
From: zijun_hu it is error to represent the max range max_distance spanned by all the group areas as the offset of the highest group area plus unit size in pcpu_embed_first_chunk(), it should equal to the offset plus the size of the highest group area in order to fix this

Re: [RESEND PATCH 1/1] mm/percpu.c: correct max_distance calculation for pcpu_embed_first_chunk()

2016-09-23 Thread zijun_hu
From: zijun_hu it is error to represent the max range max_distance spanned by all the group areas as the offset of the highest group area plus unit size in pcpu_embed_first_chunk(), it should equal to the offset plus the size of the highest group area in order to fix this issue,let us find the