Re: [PATCH 3/3] mm: shrinker: make shrinker not depend on memcg kmem

From: Yang Shi
Date: Thu May 30 2019 - 09:23:54 EST




On 5/30/19 8:08 PM, Kirill A. Shutemov wrote:
On Tue, May 28, 2019 at 08:44:24PM +0800, Yang Shi wrote:
@@ -81,6 +79,7 @@ struct shrinker {
/* Flags */
#define SHRINKER_NUMA_AWARE (1 << 0)
#define SHRINKER_MEMCG_AWARE (1 << 1)
+#define SHRINKER_NONSLAB (1 << 3)
Why 3?

My fault, it is a typo. Should be 2.