Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp758990ybh; Tue, 21 Jul 2020 07:18:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyB65Y630P51HI3+g2dfd7qwQYhs3qG7YDLIdq97rHreFQIcvATpym0nFU1x+3z0leodpQ9 X-Received: by 2002:aa7:d3ca:: with SMTP id o10mr27037129edr.138.1595341129276; Tue, 21 Jul 2020 07:18:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595341129; cv=none; d=google.com; s=arc-20160816; b=HQrj3TGxR+WyYuaOwuwQZGZj+aSLNe7Y+IoM/tAGrbUV2bxViJE8MTcAdr8Ro0Ab9W t6bpV3K9ZjUMB3LjEdCZ+SZKJn0taudIAYjlSGqd49PevTtLBNBNRM2+Hf36UyIkPm/a RNLvbbkVu5Pa5BhdR/TfeyNHIgt2Qo9EzY5liEGqF5YCuKWFQrB24NEZsi6HgMHnM2qV MLr72zcjwRoCft5XoyxByM+QmnK8mCGAZ0kknpIx0oNvUq6P4Xkuzj9WPvhXIHVpFFyb AFTeFlmP3h5k/Qq5TRRjjJNAqdPlNjCkWrIo+Lk/F1CUxJPe6xyexV7v1LwIiB+2BZ2I 269w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=92B9Cr8GU+Q5NgJRD18dkOQr+Iz15oRaXg+fWztZRyA=; b=eZZjzIlKXfuH+mMWt+ieAR0n4jrZM/wb7s33avYQvVAeBT8+r4cXq4B/swKkhHxc3w smv5PIT5vn+UD5DBCbCnJdyKG2oDoglnfOv5Wq9nU+c+4VohfyXHtUUJV+S/B1MYn8mo UsJ418Q+ura/tDn+uH3SHx5vNveJMAWnJpr6HkgJ6qtuOsP74BRF8+sblrTXaFiS8KyD MphfG4U1qc0A9n4Ijmwnm2I0hfEyWMjzc2k7QcRty388zfznSNAjWaiZqhTxCr2EE3do xH7haWoZkiQI2iua11VXuzYZLU/fCD/4TnQb6XTkIV+MVUxOBcxo1w3uUv3ugqdq0hgO ekuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=bJZ16ap+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n6si12781998ejs.278.2020.07.21.07.18.26; Tue, 21 Jul 2020 07:18:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=bJZ16ap+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728837AbgGUORx (ORCPT + 99 others); Tue, 21 Jul 2020 10:17:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726715AbgGUORw (ORCPT ); Tue, 21 Jul 2020 10:17:52 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8216CC061794 for ; Tue, 21 Jul 2020 07:17:52 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id lx13so21833836ejb.4 for ; Tue, 21 Jul 2020 07:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=92B9Cr8GU+Q5NgJRD18dkOQr+Iz15oRaXg+fWztZRyA=; b=bJZ16ap+pQMf7ty/juukMn4SocAmm/ff1ygm7N0ZhctiTX7Ns9EKRvJFGiWSYr6Fae MsLGWGopirywHezMYylNS3uCobm9k23Lu1ehcGBHC7UAgBWqRN2J7FceziM5zoLy3S5G nffshkNWk9HRgb8P+dihyPwG9xY0ajeCk1dpQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=92B9Cr8GU+Q5NgJRD18dkOQr+Iz15oRaXg+fWztZRyA=; b=hGmIstVhigfpHk6EmwAYaZTeIcnCvwVU1f2TY4CTbtKz4orttqsulhVRn4+2I2kEUC ipgJ+MQS4KIq1DBcFxstb6uD34dMX8olGaoXJCA64LruVKTGd3r4ftlxUNM+uwe3yQ7r ZSkrVuwM8TgpbyhPIfIbawZws2Adl/DIqcqzWgomaHS+HGDNH1eCFVE1WQ6VHZafYrmB Xeived83Rtys6ZzyBU3G7ccDsnrIW7EJN7RL6clecEXB43j57UgfOUYsIj2g5xcSVPTY 0jZzEw5P4goIg1v3NRuEiy42k2Kj1DEehFR2HFqLQ7CAeI1bDo0ItWYo+QY9XCOk2VGf Qc/Q== X-Gm-Message-State: AOAM5330hX7n/afY4bW5X1WDDY7jVAwMIiwvHojDrn07zHDW/crrQgiQ kCo0PB+GyZ7X0H5RfYsjTbUW86sdlH+hQg== X-Received: by 2002:a17:906:f907:: with SMTP id lc7mr20435966ejb.143.1595341070869; Tue, 21 Jul 2020 07:17:50 -0700 (PDT) Received: from localhost ([2620:10d:c092:180::1:70f9]) by smtp.gmail.com with ESMTPSA id cw14sm17469727edb.88.2020.07.21.07.17.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 07:17:50 -0700 (PDT) Date: Tue, 21 Jul 2020 15:17:49 +0100 From: Chris Down To: Michal Hocko Cc: linux-mm@kvack.org, LKML , Andrew Morton , Linus Torvalds , Tim Chen , Michal Hocko Subject: Re: [RFC PATCH] mm: silence soft lockups from unlock_page Message-ID: <20200721141749.GA742741@chrisdown.name> References: <20200721063258.17140-1-mhocko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200721063258.17140-1-mhocko@kernel.org> User-Agent: Mutt/1.14.6 (2020-07-11) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I understand the pragmatic considerations here, but I'm quite concerned about the maintainability and long-term ability to reason about a patch like this. For example, how do we know when this patch is safe to remove? Also, what other precedent does this set for us covering for poor userspace behaviour? Speaking as a systemd maintainer, if udev could be doing something better on these machines, we'd be more than receptive to help fix it. In general I am against explicit watchdog tweaking here because a.) there's potential to mask other problems, and b.) it seems like the kind of one-off trivia nobody is going to remember exists when doing complex debugging in future. Is there anything preventing this being remedied in udev, instead of the kernel?