From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8D85C433C1 for ; Wed, 24 Mar 2021 22:58:20 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 68CC561A1D for ; Wed, 24 Mar 2021 22:58:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 68CC561A1D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D532E6B0334; Wed, 24 Mar 2021 18:58:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D020B6B0335; Wed, 24 Mar 2021 18:58:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B08226B0336; Wed, 24 Mar 2021 18:58:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0060.hostedemail.com [216.40.44.60]) by kanga.kvack.org (Postfix) with ESMTP id 8DD836B0334 for ; Wed, 24 Mar 2021 18:58:19 -0400 (EDT) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 50CDB6D7E for ; Wed, 24 Mar 2021 22:58:19 +0000 (UTC) X-FDA: 77956283118.12.D3E767D Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by imf06.hostedemail.com (Postfix) with ESMTP id AD55BC0001F7 for ; Wed, 24 Mar 2021 22:58:18 +0000 (UTC) Received: by mail-pg1-f181.google.com with SMTP id v10so1619135pgs.12 for ; Wed, 24 Mar 2021 15:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=vki3LQkenPNysugs1SxfO0nn8UpSoyiRVef2WWK+wIk=; b=LBqogV7X/ZOyISVSWNTq3UZ3nd3lzcoCkYC8xVy4/xr8YdD6/fTQBjP80U+sBXPhbg qBD6sz8VOuJ7Mw8/EetE+6RWMlQG0OzszCNDioQ6fNdo4DXct7g1tT1tEtolpugpHI9W XBtHb65QF4bJFPHQySPaJtayGDs72oJqgEO54GYLSkY1VbCQpTCd9g+py5qMVSojxp6d wT8SqdSJ3R88Nss3sWel8zium+yaQwlHbFePyE243sfSl4FCY5QZdE9EeWF5csp8cjTi Ls8KzY8FnnFNhIoetlmvuTVs6kSI6mIGjBqchRTzb5RiODUpzjR6pox9HHkrjA8UsmCa QDvA== 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; bh=vki3LQkenPNysugs1SxfO0nn8UpSoyiRVef2WWK+wIk=; b=EBqbTh9ogVJEKlHG3nm9HtmVHG8b+JEUGxd0Rb3VO1iPfVOEZrL/XCuHAwTIx5EJK2 yUrcnlMk/5Bi0IBNyDFXaAwWSxrPaTIdxqM4BrO8TrdY4j2+bh28d7fv1FfkQSTZpk23 ZeUSkAILhLfeMt3IuuXVC4iLSK7t0OjkrcpNsY6/p5YUqPSRmp3TOK8okB1Ownupj/Hl 3z9ACi6HPqA8MKx8Zwdyo3T6V9ljMbM8YF9aiQLnNASO5lbMeoKjxN3b/GYW/1gy5jBT i3Vk4WfkfHqmA99jh5W8mLf2itgYn6TEvary/cYN6K+aMuEvgzCJYSF0iOvz/LpZ1J8V i2cw== X-Gm-Message-State: AOAM533PnbDH+FqbD1knGsQogoCPjU1/i5Y/C9i4d6iITO+8pj2hyrdE rZ/3dPNLRW99Wt7SOPd0tGs= X-Google-Smtp-Source: ABdhPJxTUxmNAADhq4dsE6st8mzUTROA/MwnDOh4zEKs3L65cDXc8+ri8Y9UTqX210Olfhr2EEPbNw== X-Received: by 2002:a17:902:b68c:b029:e6:bb9f:7577 with SMTP id c12-20020a170902b68cb02900e6bb9f7577mr5999399pls.0.1616626697734; Wed, 24 Mar 2021 15:58:17 -0700 (PDT) Received: from localhost (121-45-173-48.tpgi.com.au. [121.45.173.48]) by smtp.gmail.com with ESMTPSA id z18sm3830927pfa.39.2021.03.24.15.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 15:58:15 -0700 (PDT) Date: Thu, 25 Mar 2021 09:58:12 +1100 From: Balbir Singh To: Andrew Morton Cc: David Hildenbrand , 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: <20210324225812.GM77072@balbir-desktop> References: <20210324102351.6932-1-david@redhat.com> <20210324122412.e77247e6d3259d5493951019@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210324122412.e77247e6d3259d5493951019@linux-foundation.org> X-Stat-Signature: inp8nnasfagaprcy8cddywb7xc7gdae4 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: AD55BC0001F7 Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf06; identity=mailfrom; envelope-from=""; helo=mail-pg1-f181.google.com; client-ip=209.85.215.181 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616626698-191406 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Mar 24, 2021 at 12:24:12PM -0700, Andrew Morton wrote: > > > 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. > I wonder if we should have the opposite of driver/staging and call it outgoing, with a big thank you to the users and developers and also to indicate this feature will be removed in the next (few) merge(s) cycles. I guess not all code can be accumulated under a single hierarchy. May not be worth the effort, just thinking out loud. Balbir Singh