From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754136AbdGYTkS (ORCPT ); Tue, 25 Jul 2017 15:40:18 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:33009 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753985AbdGYTZG (ORCPT ); Tue, 25 Jul 2017 15:25:06 -0400 Date: Tue, 25 Jul 2017 15:25:04 -0400 From: Josef Bacik To: Dennis Zhou Cc: Tejun Heo , Christoph Lameter , Josef Bacik , linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel-team@fb.com, Dennis Zhou Subject: Re: [PATCH v2 17/23] percpu: skip chunks if the alloc does not fit in the contig hint Message-ID: <20170725192503.GQ18880@destiny> References: <20170724230220.21774-1-dennisz@fb.com> <20170724230220.21774-18-dennisz@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170724230220.21774-18-dennisz@fb.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 24, 2017 at 07:02:14PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > This patch adds chunk->contig_bits_start to keep track of the contig > hint's offset and the check to skip the chunk if it does not fit. If > the chunk's contig hint starting offset cannot satisfy an allocation, > the allocator assumes there is enough memory pressure in this chunk to > either use a different chunk or create a new one. This accepts a less > tight packing for a smoother latency curve. > > Signed-off-by: Dennis Zhou Reviewed-by: Josef Bacik Thanks, Josef