Received: by 10.192.165.148 with SMTP id m20csp904799imm; Wed, 25 Apr 2018 09:23:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/d9gUH3hd9GdxfOwgS1eeZmAFgZCamYeOooomU1m6QT3065f8m72jORmbaPLPM+RKuXrH5 X-Received: by 10.98.64.130 with SMTP id f2mr22799855pfd.83.1524673424710; Wed, 25 Apr 2018 09:23:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524673424; cv=none; d=google.com; s=arc-20160816; b=SK7lZEKyYRjSK6Tf5iJPCuSsflyldKvumuAUXh1ux/a0kRElCFdCUREefowQuM1twt jj/+NNyQA6sHF/G0jZgtEvg4Nvv2R8VzeSBujJNZuV1fOYjkwtCK3DFwjAjWDqL+zJDU Hobip28w99bT1LxF6dTchcKreEGgO89VnUHa59ImCV/xeAyFRXv2Y6/SL5MOVKqByd4K oNWbAaBiNe1g88FvnCyy3ock70ansQrGUi4SE020RnwHbDKFgkPsxwEUk+3NN9P/4HM2 ZaQMZSXKjihNrt4cC+8LiAGFC0I+P3pM3TG22yWmBxlurpy6cz2xgNPaIZEkwLuftZtG wHWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=vE3Lyi7BOOE7OWt24XhgDULmDaAuZabKsSE7xclgYbc=; b=RzzQBz/0sTruJ0E+TFhqzQ6y4XVb2S4nYElwDDOZ2DiWEow7xWFHVdc34KPG3T/PfT jdLwE7zwVoxuCT05aQu5yNSBRSoyLO+JfJk0TFeR+W8mAVO09CbZxwzgHIIwVs8AAZ2u u/CjaSRNwJLyKMScld2PToxN5Wl5MgP5b/JaRJX505refEzW+axzBrmCICZmVYTXzx4y 2l4PuoGQUJNtuZwT6uN7q7SatYC/OEDwXbstJJdHj1ty3hV1T67tHIpaqz9ggX+4akpg 4eV85ZzNQYSLRAvjz7xOUcWNHewnfIn/yJbIQyPsvrpW8/vsZ+fjwi31obLMeq3qtMFD tFyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3-v6si16713678plp.421.2018.04.25.09.23.30; Wed, 25 Apr 2018 09:23:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755980AbeDYQW0 (ORCPT + 99 others); Wed, 25 Apr 2018 12:22:26 -0400 Received: from mout.gmx.net ([212.227.17.22]:54885 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932102AbeDYQVS (ORCPT ); Wed, 25 Apr 2018 12:21:18 -0400 Received: from homer.simpson.net ([185.191.216.25]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M9eHT-1f6erV1Ajf-00CzjT; Wed, 25 Apr 2018 18:21:14 +0200 Message-ID: <1524673273.8257.2.camel@gmx.de> Subject: Re: DOS by unprivileged user From: Mike Galbraith To: Alan Cox Cc: Ferry Toth , linux-kernel@vger.kernel.org Date: Wed, 25 Apr 2018 18:21:13 +0200 In-Reply-To: <20180425155459.5a4e40e0@alans-desktop> References: <9023506.UBh6vynRGa@delfion> <4285098.DEWjdbWF2X@delfion> <1524325275.8078.2.camel@gmx.de> <6057755.ozdVOybsI6@delfion> <1524470676.5451.1.camel@gmx.de> <20180425155459.5a4e40e0@alans-desktop> Content-Type: text/plain; charset="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OxZxkSJ8CdapJ+loqtSCDiEvQbhJJ 8YlNzfbGJv6930nDmJ95llyie76ovwALSvt43Lf8R4K97ma4DjCRNoOar7x2OtQh2Ehh8KwG3 BZ3WMRdN36c6/yd57NtrX8LAihScWPAk9nYfhaiB2jS3t9yFqw= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-04-25 at 15:54 +0100, Alan Cox wrote: > > > I think memory allocation and io waits can't be decoupled from > > > scheduling as they are now. > > > > The scheduler is not decoupled from either, it is intimately involved > > in both. However, none of the decision making smarts for either reside > > in the scheduler, nor should they. > > It belongs in both. If mm decision making belongs within the process scheduler, it follows that IO requests, dirty page writeback etc. do as well. Nope, I don't think we want to create a squid-uler, with tentacles extending all over the dang kernel. The thrashing problem could use some attention, but we'll have to agree to disagree about the scheduler growing mm, io (etc) smarts. -Mike