Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp650861pxf; Wed, 24 Mar 2021 12:26:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyzZFqgzecE+HjPaPzbICVBWLQk9vH9jwzUgjuawxHcLmDFMoQRnA4KLEjurRhYlP6kmKV X-Received: by 2002:a17:907:2d9f:: with SMTP id gt31mr5389057ejc.233.1616614003526; Wed, 24 Mar 2021 12:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616614003; cv=none; d=google.com; s=arc-20160816; b=mNvF6Uuf9XoVCepKeSrOJO5XWKC9oc/8CWrwDW9SOXXBka/SUtO4HL9okT8qVtfrrw WW9tgp/Y7aLdGVMGc6VxmoaNnATDkke99xtf0jhwjVB2JMW8iU+/yFRowotu0VkgrNTp vqaumOouSVcTJ4KqvQMArJpdzn9+cgKoygAiKWOUw3ch4X1eScW+dEqQyqIZ8w7/Erfz /sJldthhqBIf9h0lCtxfC5/nKLaHENDEmiRwmmXNAxyGH1aZThNg7xDXytaXtDYy27YV kJYElTBXccRz3R2TE3MfO3+dwZ5ZRRb8aRhFAU+nM2vPa8u1CCt7GiQnzXv7l2x/nXD9 ZQIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=0UYc1uc0Klmj6LuycwCD/qOCqg0gFdmum8jKTrqvHV0=; b=lyvky3KiawI4nLNWSWOuk8+BLh1m8dGJS5cIeCOdsIBCqvp+IOYSSBkt8HQDwya4Og uhhWlb5DfE5vY04M6gZGHCxvNssir64H7beqdYJ6VKeYwmt9PWsuKukKAPwI84AayDYE cAY+oKH2ztSUuzaX0ARHd053WUq4O7xwA058crD3sJ+UYswDlSaPzkfHKiIRbSDP7Fpb iahC8xu9HzCBNoQF/48KUbZS0z0VEfCmGbL2lcKUG57LOC1XkFnUTJ2kOEM2cHjaYy0z +Awh1E1VAhm386nRShUzyUgoXIORoH+fzyEPTdEbvUJzLISjGK61LG+8VCsymsRl03qb /nbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b="Sprd/8YQ"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c20si2320519edw.141.2021.03.24.12.26.19; Wed, 24 Mar 2021 12:26:43 -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=@linux-foundation.org header.s=korg header.b="Sprd/8YQ"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237833AbhCXTY3 (ORCPT + 99 others); Wed, 24 Mar 2021 15:24:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:35936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237780AbhCXTYQ (ORCPT ); Wed, 24 Mar 2021 15:24:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 441EB61962; Wed, 24 Mar 2021 19:24:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1616613855; bh=k3KeOvY/gY++1wYNecE8Vi7uDBnm7jr2w4YKjm0PyhQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Sprd/8YQn6NWR53KSXnTHGGl8JK7/S2Rt6SQn4o9f98SYsIQcYR4gjkZRnazDs6IE uGVYuCaxdW4Ed0O5cStGnsibK/KvJDIFOnfkvtgnS05HNSBtRQ/WOidStla0oN/Y1k eZ/WJc0DuVozgFEJyQNHpZ47dHHRnRreqXDrz6as= Date: Wed, 24 Mar 2021 12:24:12 -0700 From: Andrew Morton To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Alexander A. Klimov" , Alexander Viro , Alexandre Belloni , Andrew Lunn , Andrey Zhizhikin , Arnd Bergmann , Benjamin Herrenschmidt , Brian Cain , Christian Borntraeger , Christophe Leroy , Chris Zankel , Corentin Labbe , "David S. Miller" , "Eric W. Biederman" , Geert Uytterhoeven , Gerald Schaefer , Greentime Hu , Greg Kroah-Hartman , Gregory Clement , Heiko Carstens , Helge Deller , Hillf Danton , huang ying , Ingo Molnar , Ivan Kokshaysky , "James E.J. Bottomley" , James Troup , Jiaxun Yang , Jonas Bonn , Jonathan Corbet , Kairui Song , Krzysztof Kozlowski , Kuninori Morimoto , Linus Torvalds , Linux API , Liviu Dudau , Lorenzo Pieralisi , Luc Van Oostenryck , Luis Chamberlain , Matthew Wilcox , Matt Turner , Max Filippov , Michael Ellerman , Michal Hocko , Mike Rapoport , Mikulas Patocka , Minchan Kim , Niklas Schnelle , Oleksiy Avramchenko , Palmer Dabbelt , Paul Mackerras , "Pavel Machek (CIP)" , Pavel Machek , "Peter Zijlstra (Intel)" , Pierre Morel , Randy Dunlap , Richard Henderson , Rich Felker , Robert Richter , Rob Herring , Russell King , Sam Ravnborg , Sebastian Andrzej Siewior , Sebastian Hesselbarth , Stafford Horne , Stefan Kristiansson , Steven Rostedt , Sudeep Holla , Theodore Dubois , Thomas Bogendoerfer , Thomas Gleixner , Vasily Gorbik , Viresh Kumar , William Cohen , Xiaoming Ni , Yoshinori Sato Subject: Re: [PATCH v1 0/3] drivers/char: remove /dev/kmem for good Message-Id: <20210324122412.e77247e6d3259d5493951019@linux-foundation.org> In-Reply-To: <20210324102351.6932-1-david@redhat.com> References: <20210324102351.6932-1-david@redhat.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Let's remove /dev/kmem, which is unused and obsolete. I grabbed these. Silently - the cc list is amazing ;) I was wondering if it would be better to permanently disable /dev/kmem in Kconfig along with a comment "if you really want this thing then email peeps@places with a very good reason why". Let that ride for a year or three then blam. But this is so much more attractive, and it certainly sounds like it's worth any damage it might cause. We do tend to think about distros. I bet there are a number of weird embedded type systems using /dev/kmem - it's amazing what sorts of hacks those people will put up with the get something out the door. But those systems tend to carry a lot of specialized changes anyway, so they can just add "revert David's patch" to their pile.