Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp395518ybx; Fri, 1 Nov 2019 05:18:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGDPXPul0XhBmHFbBtXinUqrf7daKdp6MajtDpmp97Fho1FSRDlgiLRqqaap7OzXvUCr9d X-Received: by 2002:a17:906:1611:: with SMTP id m17mr9631979ejd.281.1572610694835; Fri, 01 Nov 2019 05:18:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572610694; cv=none; d=google.com; s=arc-20160816; b=FSlyBxmqBMuEE0X6bbzAHFQDe3TLLntIm66rHiBjrfWgAmKx7tjHN6XkY0h1xxJWO7 SFdel9091M2kpXWqtWHy+5XSnASu2X4DIABYVlIakoRNcXmwDOd2felNM0Vrvj3UrQRw XP18luKEpVrCxk7BuNg3c2f8Qqn1gZz1re5zY/6x667zpuHCsrg6kLm5DvEHxwqxssAt A1g51mfbcx0fro9DiCIl8hwLrq+Dur/P8Ng67NF3GyrpfA/SHaFJ4LtE59L+dSWe3Wdd aOgt9eUFv0HiRJabK3yOTprfx7O2LQahGqPQwSwNcAvRJ1aN4GgMjFyqSfcTVyHSjmT3 YO0A== 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=PNqWAL/vcdIkzWkk07XofANRcuWQjzPIpS1/GtEbKcU=; b=wb0hlm3q9tqNY2KYi2wfZvqJ/xJ3OOKHuQDqh/z0bRqMALjMG9p+9IfITlL0YPy6hM uNgm2HzAeKKYranKx2BeB+0rifP9krEl2XI3nZl6ALotik/m+cKsYRnMeTH9AXsXhpMX 1jDEzdfRZuM0S1CEkQJ7sfAAxE33S4TjXD6T65TpNOCDtuCqPOMlpaCNozfZ8GrIgs+C jPb/i0TFMwe7SrdGvefbdcr7H0xlqhuLa5GmljhtPrhSUJGHq/QHObKgaIqh5rMcunEX SgXc0recjWeqdxCFj32q8/11ZqUn8b0NdUzzRVjrUyq+QC75YgnPodGQPK6DVlZn7yv9 BYCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=nRSM804q; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uz3si5505039ejb.344.2019.11.01.05.17.51; Fri, 01 Nov 2019 05:18:14 -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; dkim=pass header.i=@chrisdown.name header.s=google header.b=nRSM804q; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730314AbfKALJH (ORCPT + 99 others); Fri, 1 Nov 2019 07:09:07 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37176 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726720AbfKALJH (ORCPT ); Fri, 1 Nov 2019 07:09:07 -0400 Received: by mail-wr1-f65.google.com with SMTP id t1so3370554wrv.4 for ; Fri, 01 Nov 2019 04:09:04 -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=PNqWAL/vcdIkzWkk07XofANRcuWQjzPIpS1/GtEbKcU=; b=nRSM804qrZvift9Sh05oWVFc4gK8vA+tN8Q5awmIhEf7D56uQzsrhVEwmH9i7r2CqC qZHIOSKKZNx2DDqZ2sLIVtBzTX34ue815t86YY1RhnRdUZShaZw722hlrxtIeFOSi+mC sepoIBwqrGvjU06MqnATXk7czNawaz2Yu2RAQ= 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=PNqWAL/vcdIkzWkk07XofANRcuWQjzPIpS1/GtEbKcU=; b=Mdf3vfi/8hDkQctjDvhrAkWhSPExii+gepQ7+9dPc/Qr/KaNUcfBQbaLrCSotn+ciI nIIGfJ5FgEBGGiHnhmW2iDeWVwq+Xcffzd3FCXN9ZqAbY3JD+SqITezYJFAtawuiGug7 5L1C5LaXc/XkXDeVgUgByurZfrSqdPrO+KlYaCDorXRY8iiSWpBQvLf3oXsox8SnbdOr K0AzsASLE5VaN3/cYIiLRXcGRyfQO3sN2hT+DEMM4EFl8852ZDA8bfa8kiBg0R0F3vLy KJmQiBtNvzGKSCEX3u9LDHDgZSezheKbCVl25+O8eDBLipofByNNDm1ERccLoDeyCV2Q K34Q== X-Gm-Message-State: APjAAAUTYAWJCQhUGLw3uQrM349I+gTh01e8BlTk9sKULu9JwzycNrUN 9xdkMW21YVmqvlqWYewCfiTwQA== X-Received: by 2002:adf:c409:: with SMTP id v9mr10205437wrf.41.1572606543510; Fri, 01 Nov 2019 04:09:03 -0700 (PDT) Received: from localhost ([2620:10d:c092:180::1:f970]) by smtp.gmail.com with ESMTPSA id d4sm10304948wrc.54.2019.11.01.04.09.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2019 04:09:02 -0700 (PDT) Date: Fri, 1 Nov 2019 11:09:01 +0000 From: Chris Down To: Andrew Morton Cc: Johannes Weiner , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH] kernel: sysctl: make drop_caches write-only Message-ID: <20191101110901.GB690103@chrisdown.name> References: <20191031221602.9375-1-hannes@cmpxchg.org> <20191031162825.a545a5d4d8567368501769bd@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20191031162825.a545a5d4d8567368501769bd@linux-foundation.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hm, not sure why my client didn't show this reply. Andrew Morton writes: >Risk: some (odd) userspace code will break. Fixable by manually chmodding >it back again. The only scenario I can construct in my head is that someone has built something to watch drop_caches for modification, but we already have the kmsg output for that. >Reward: very little. > >Is the reward worth the risk? There is evidence that this has already caused confusion[0] for many, judging by the number of views and votes. I think the reward is higher than stated here, since it makes the intent and lack of persistent API in the API clearer, and less likely to cause confusion in future. 0: https://unix.stackexchange.com/q/17936/10762