Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp197070imj; Thu, 14 Feb 2019 18:28:28 -0800 (PST) X-Google-Smtp-Source: AHgI3IYcFNgldwltTMVFRGPjJcQa7Ki9YPj388H8OwSUKMPI3BqD0HhnzJffs0ebtPYQZVbRlfYm X-Received: by 2002:a17:902:b48d:: with SMTP id y13mr7455447plr.273.1550197708304; Thu, 14 Feb 2019 18:28:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550197708; cv=none; d=google.com; s=arc-20160816; b=VcxDAXhtbbdjTkm6On/TkuiTp4vKDsI/MlNP0k+DKwAzQMBoT1Vg6z+I3BTJnpuN2+ IM5fIcNaFCDIhsIcX+i9KqxqL9CV4P3j6gjKWeRSl8zX9NsUwEwSWg9hfKjGXH2EEkNa oa0eikSVVIH+/erF7pr/6Yxahh7M7Sds9/WiEmcbyn1V/A4f4YM0k8NEnTN4OsP+ftLC cwl3Qr0SJ31XFrnkRkdvi0BAA5g3+pSdfGkV7yYiSv9B1VI7+0xja8Fy+WVW4dWsmtn0 Nhe2aPegOml7rqzErZV9YPdqb6XvHQUo2RuSqJY8BWQsfGrtgwWrjOE6D8gMqfMkkC1w Dynw== 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:in-reply-to :references:date:mime-version:cc:to:from:subject:message-id; bh=X4qRFlWvoh0RWsArKzf8jUQjGlsYyUbs124Q3nGKAuw=; b=J5HA+eJrRxIy68ezkli68sP3q29ySJYLsN8UUQzmnZBUB5DyGFKrCewt+3VRWtLBaW OUlix+7TmnFNF/W98nnPrnaVTWqTpVzIbCJV0jfSLq0yAl+xgCFitfzwiRNJhToxBIjz PioKa/ae5wR5oSCnjEFnYG4IaznVCO1djHGgJPN+vTcdBv76gD2USqCtgZUlCupyj/r0 xTBBujAQn5vDHWbNV/0q1pHlv2jwExtPEvy4v8ruxnJoQWpY9eMidvFlgRJP5CFzhKfs Yc5ohLcyj5GBAoBTu4JOFkMKLjtSRmRYDSGzoebh/DmBPWPh/j6FzB4RFGQ0Rytx8jw6 yEHQ== 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 r18si4054942pls.115.2019.02.14.18.28.12; Thu, 14 Feb 2019 18:28:28 -0800 (PST) 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 S1728914AbfBOA6C (ORCPT + 99 others); Thu, 14 Feb 2019 19:58:02 -0500 Received: from www262.sakura.ne.jp ([202.181.97.72]:17638 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726461AbfBOA6C (ORCPT ); Thu, 14 Feb 2019 19:58:02 -0500 Received: from fsav305.sakura.ne.jp (fsav305.sakura.ne.jp [153.120.85.136]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id x1F0vxYI076972; Fri, 15 Feb 2019 09:57:59 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav305.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav305.sakura.ne.jp); Fri, 15 Feb 2019 09:57:59 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav305.sakura.ne.jp) Received: from www262.sakura.ne.jp (localhost [127.0.0.1]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id x1F0vxME076967; Fri, 15 Feb 2019 09:57:59 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: (from i-love@localhost) by www262.sakura.ne.jp (8.15.2/8.15.2/Submit) id x1F0vxHb076966; Fri, 15 Feb 2019 09:57:59 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Message-Id: <201902150057.x1F0vxHb076966@www262.sakura.ne.jp> X-Authentication-Warning: www262.sakura.ne.jp: i-love set sender to penguin-kernel@i-love.sakura.ne.jp using -f Subject: Re: [PATCH] proc, oom: do not report alien mms when setting =?ISO-2022-JP?B?b29tX3Njb3JlX2Fkag==?= From: Tetsuo Handa To: Michal Hocko Cc: Andrew Morton , David Rientjes , Johannes Weiner , Linus Torvalds , Yong-Taek Lee , linux-mm@kvack.org, LKML MIME-Version: 1.0 Date: Fri, 15 Feb 2019 09:57:59 +0900 References: <201902130124.x1D1OGg3070046@www262.sakura.ne.jp> <20190213114733.GB4525@dhcp22.suse.cz> In-Reply-To: <20190213114733.GB4525@dhcp22.suse.cz> Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sigh, you are again misunderstanding... I'm not opposing to forbid CLONE_VM without CLONE_SIGHAND threading model. I'm asserting that we had better revert the iteration for now, even if we will strive towards forbidding CLONE_VM without CLONE_SIGHAND threading model. You say "And that is a correctness issue." but your patch is broken because your patch does not close the race. Since nobody seems to be using CLONE_VM without CLONE_SIGHAND threading, we can both avoid hungtask problem and close the race by eliminating this broken iteration. We don't need to worry about "This could easily lead to breaking the OOM_SCORE_ADJ_MIN protection." case because setting OOM_SCORE_ADJ_MIN needs administrator's privilege. And it is YOUR PATCH that still allows leading to breaking the OOM_SCORE_ADJ_MIN protection. My patch is more simpler and accurate than your patch.