[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170725192503.GQ18880@destiny>
Date: Tue, 25 Jul 2017 15:25:04 -0400
From: Josef Bacik <josef@...icpanda.com>
To: Dennis Zhou <dennisz@...com>
Cc: Tejun Heo <tj@...nel.org>, Christoph Lameter <cl@...ux.com>,
Josef Bacik <josef@...icpanda.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
kernel-team@...com, Dennis Zhou <dennisszhou@...il.com>
Subject: Re: [PATCH v2 17/23] percpu: skip chunks if the alloc does not fit
in the contig hint
On Mon, Jul 24, 2017 at 07:02:14PM -0400, Dennis Zhou wrote:
> From: "Dennis Zhou (Facebook)" <dennisszhou@...il.com>
>
> 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 <dennisszhou@...il.com>
Reviewed-by: Josef Bacik <jbacik@...com>
Thanks,
Josef
Powered by blists - more mailing lists