From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f72.google.com (mail-oi0-f72.google.com [209.85.218.72]) by kanga.kvack.org (Postfix) with ESMTP id 4F07E28025D for ; Wed, 28 Sep 2016 01:10:18 -0400 (EDT) Received: by mail-oi0-f72.google.com with SMTP id x203so28388371oia.2 for ; Tue, 27 Sep 2016 22:10:18 -0700 (PDT) Received: from lgeamrelo11.lge.com (LGEAMRELO11.lge.com. [156.147.23.51]) by mx.google.com with ESMTP id v63si1544753otb.68.2016.09.27.22.10.16 for ; Tue, 27 Sep 2016 22:10:17 -0700 (PDT) Date: Wed, 28 Sep 2016 14:18:42 +0900 From: Joonsoo Kim Subject: Re: [Bug 172981] New: [bisected] SLAB: extreme load averages and over 2000 kworker threads Message-ID: <20160928051841.GB22706@js1304-P5Q-DELUXE> References: <20160927111059.282a35c89266202d3cb2f953@linux-foundation.org> <002a01d21936$5ca792a0$15f6b7e0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002a01d21936$5ca792a0$15f6b7e0$@net> Sender: owner-linux-mm@kvack.org List-ID: To: Doug Smythies Cc: 'Johannes Weiner' , 'Andrew Morton' , 'Vladimir Davydov' , bugzilla-daemon@bugzilla.kernel.org, linux-mm@kvack.org On Tue, Sep 27, 2016 at 08:13:58PM -0700, Doug Smythies wrote: > By the way, I can eliminate the problem by doing this: > (see also: https://bugzilla.kernel.org/show_bug.cgi?id=172991) I think that Johannes found the root cause of the problem and they (Johannes and Vladimir) will solve the root cause. However, there is something useful to do in SLAB side. Could you test following patch, please? Thanks. ---------->8-------------- diff --git a/mm/slab.c b/mm/slab.c index 0eb6691..39e3bf2 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -965,7 +965,7 @@ static int setup_kmem_cache_node(struct kmem_cache *cachep, * guaranteed to be valid until irq is re-enabled, because it will be * freed after synchronize_sched(). */ - if (force_change) + if (n->shared && force_change) synchronize_sched(); fail: -- 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