Re: [PATCH 03/12] percpu: introduce helper to determine if two regions overlap

2019-03-02 Thread Dennis Zhou
Heo ; Christoph > > Lameter > > Cc: Vlad Buslov ; kernel-t...@fb.com; > > linux...@kvack.org; linux-kernel@vger.kernel.org > > Subject: [PATCH 03/12] percpu: introduce helper to determine if two regions > > overlap > > > > While block hints were always acc

RE: [PATCH 03/12] percpu: introduce helper to determine if two regions overlap

2019-03-02 Thread Peng Fan
@kvack.org; linux-kernel@vger.kernel.org > Subject: [PATCH 03/12] percpu: introduce helper to determine if two regions > overlap > > While block hints were always accurate, it's possible when spanning across > blocks that we miss updating the chunk's contig_hint. Rather than rely

[PATCH 03/12] percpu: introduce helper to determine if two regions overlap

2019-02-27 Thread Dennis Zhou
While block hints were always accurate, it's possible when spanning across blocks that we miss updating the chunk's contig_hint. Rather than rely on correctness of the boundaries of hints, do a full overlap comparison. Signed-off-by: Dennis Zhou --- mm/percpu.c | 31 +++--