Re: [PATCH 01/17] mm: sl[au]b: Add knowledge of PFMEMALLOC reservepages

From: Rik van Riel
Date: Thu Jun 21 2012 - 17:32:09 EST


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.

Otherwise, the patch looks reasonable.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/