From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970165AbdEYSGZ (ORCPT ); Thu, 25 May 2017 14:06:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:48621 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S964992AbdEYSGO (ORCPT ); Thu, 25 May 2017 14:06:14 -0400 Date: Thu, 25 May 2017 20:06:03 +0200 From: "Luis R. Rodriguez" To: "Luis R. Rodriguez" Cc: Dmitry Torokhov , Tom Gundersen , Filipe Manana , "Paul E. McKenney" , "linux-doc@vger.kernel.org" , rgoldwyn@suse.com, hare , Jonathan Corbet , Linus Torvalds , linux-kselftest@vger.kernel.org, Andrew Morton , Dan Williams , Aaron Tomlin , rwright@hpe.com, Heinrich Schuchardt , Michal Marek , martin.wilck@suse.com, Rusty Russell , Jeff Mahoney , Ingo Molnar , Petr Mladek , Guenter Roeck , "Eric W. Biederman" , shuah@kernel.org, DSterba@suse.com, Kees Cook , Greg Kroah-Hartman , Josh Poimboeuf , Arnaldo Carvalho de Melo , Miroslav Benes , NeilBrown , "linux-kernel@vger.kernel.org" , David Miller , Jessica Yu , Subash Abhinov Kasiviswanathan Subject: Re: [PATCH 1/6] kmod: add dynamic max concurrent thread count Message-ID: <20170525180603.GZ8951@wotan.suse.de> References: <20170519215829.GE19281@dtor-ws> <20170525162201.GV8951@wotan.suse.de> <20170525163857.GC26128@dtor-ws> <20170525173002.GC29859@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 25, 2017 at 10:38:40AM -0700, Luis R. Rodriguez wrote: > On Thu, May 25, 2017 at 10:30 AM, Dmitry Torokhov > > There is > > no slippery slope for systems to move away, no need to backport > > anything. We seem to agree that a better solution is possible (throttle > > number of concurrently running modprobes without killing requesters), > > and with that solution the band-aid will no longer be needed. > > > > So please implement and post the proper fix for the issue. > > Alright, will do away with this patch and just go for the jugular of the issue. I gave this some more thought, even if we go with the throttling right away in practice you'll end up with a dmesg notice of a throttle kicking in once you *do* reach this. We are forcing only 50 concurrent threads and making this a static limit with no good reason than 2.3.38 days evaluation from 16 years ago (2000). If we throttle we are going to throttle with a 2.3.38 days limit. And you advocate that ? Luis