From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mel Gorman Subject: Re: [PATCH 01/17] mm: sl[au]b: Add knowledge of PFMEMALLOC reserve pages Date: Fri, 22 Jun 2012 10:34:32 +0100 Message-ID: <20120622093432.GA8271@suse.de> References: <1340192652-31658-1-git-send-email-mgorman@suse.de> <1340192652-31658-2-git-send-email-mgorman@suse.de> <4FE39290.8020609@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Cc: Andrew Morton , Linux-MM , Linux-Netdev , LKML , David Miller , Neil Brown , Peter Zijlstra , Mike Christie , Eric B Munson , Sebastian Andrzej Siewior To: Rik van Riel Return-path: Content-Disposition: inline In-Reply-To: <4FE39290.8020609@redhat.com> Sender: owner-linux-mm@kvack.org List-Id: netdev.vger.kernel.org On Thu, Jun 21, 2012 at 05:30:56PM -0400, Rik van Riel wrote: > On 06/20/2012 07:43 AM, Mel Gorman wrote: > > >+/* Clears ac->pfmemalloc if no slabs have pfmalloc set */ > >+static void check_ac_pfmemalloc(struct kmem_cache *cachep, > >+ struct array_cache *ac) > >+{ > > >+ pfmemalloc_active = false; > >+out: > >+ spin_unlock_irqrestore(&l3->list_lock, flags); > >+} > > The comment and the function do not seem to match. > Well spotted. There used to be ac->pfmemalloc and obviously I failed to update the comment when it was removed. > Otherwise, the patch looks reasonable. Thanks. -- Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org