Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751454AbdGYS32 (ORCPT ); Tue, 25 Jul 2017 14:29:28 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:33345 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbdGYS31 (ORCPT ); Tue, 25 Jul 2017 14:29:27 -0400 Date: Tue, 25 Jul 2017 14:29:25 -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 11/23] percpu: introduce nr_empty_pop_pages to help empty page accounting Message-ID: <20170725182924.GK18880@destiny> References: <20170724230220.21774-1-dennisz@fb.com> <20170724230220.21774-12-dennisz@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170724230220.21774-12-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 Content-Length: 715 Lines: 18 On Mon, Jul 24, 2017 at 07:02:08PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > pcpu_nr_empty_pop_pages is used to ensure there are a handful of free > pages around to serve atomic allocations. A new field, nr_empty_pop_pages, > is added to the pcpu_chunk struct to keep track of the number of empty > pages. This field is needed as the number of empty populated pages is > globally tracked and deltas are used to update in the bitmap allocator. > Pages that contain a hidden area are not considered to be empty. This > new field is exposed in percpu_stats. > > Signed-off-by: Dennis Zhou Reviewed-by: Josef Bacik Thanks, Josef