Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp47743pxf; Wed, 24 Mar 2021 20:34:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxu2duxAV4RjEpDZsvlsh6Ys7Dp7jzau0+G+oGITbsEwlkelAnP94M5R4ZRpmXRuE1tpAx2 X-Received: by 2002:a17:906:4e17:: with SMTP id z23mr7112485eju.439.1616643240817; Wed, 24 Mar 2021 20:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616643240; cv=none; d=google.com; s=arc-20160816; b=AgXfQUnVlaRqsrINHw/lqrw9uRP+7lJ08txSd/wyOldWcKPCFfrYN7za+aM1FHAeam 263R/WW6DltccK3W/86FNXe3MHXbsqWfS2TGqpYo5Nxgm6QDCI0PiRydvA5by9+RqHYv Ch9k/B1EjYu3ydtyXVlhijs6poIqx3FiZBFhBN8PInTWP5lvNm0dyvsq53l0CAbIXrNq IK7hgLMhN3Tyy+pmtVQiR9wF/R8eLeCeerLUBNPV7MjU2SmaXXXoZQdCnNhFUK8dyvwh dFVv5dUnAXufDiIFJyHL7K6q3h6MWjy6DTqYo2qm1Or/bHfJwCWVLfHJUO5pJecuYCnA /BYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vki3LQkenPNysugs1SxfO0nn8UpSoyiRVef2WWK+wIk=; b=HxcK4KkAAmI2jcUolu/mbVlAp2eIMQJBSFHKAGjK4mNLAAPxNCJOlQnlVihO/6wc7e btaaZhCn6KasXk0kHoLVIJcPf1BsNuqvKilGOybzAi0IKSj2oq6CIWIsVXZqU4LRu6lh 2MAjC1fidmsBMTfCLOmrjAPlDh5lCxYwUdoVlUMj09N0oijZW2NO6QSK/HgxwnJ2DWiM wdKyg5LQtQvAZJ/fSczAU14v/mw54mQldD5Jneb+DUPnhKXQfOSziJMYSRml2MV9prNn w6Izy/NGVTdwc3lgdT5YH1PqbwEro8y13Lm13vjUSPIwDMwm8Z056ie3O+to9pwquStY Z8Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LBqogV7X; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y21si3293933edo.16.2021.03.24.20.33.38; Wed, 24 Mar 2021 20:34:00 -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=@gmail.com header.s=20161025 header.b=LBqogV7X; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238921AbhCXW6p (ORCPT + 99 others); Wed, 24 Mar 2021 18:58:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238920AbhCXW6S (ORCPT ); Wed, 24 Mar 2021 18:58:18 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E859C06174A; Wed, 24 Mar 2021 15:58:18 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id g15so27674pfq.3; 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=R/mezQug0L0NzkGO3fwaAp45k24TedMPZJJQ5gHh1IilG/mlz8xyOuskdOs6cHi55m /oQ4J6q7RHuaVsjSsAG5sCzx1pQ10q+fIGgsZracQHaWjoYbmFlGI46xj7YpadtYDCNZ 5vnr2jFj/RddkYqen9NOv2BfIoBtkaJYD9UP/2zx10/SMVDjGy9h7p/4LvJvS5GZWTJy V2/POXDmEHxdsbV/sdjCBM8/GPkVb8q1/iNDo4YxpOAJP1+BUfwzflbvCp/Y/RiRhj2L jOnzbuMitPR9bkSUpjttEP4Roup+3qmK0xTzTRMesHQ9SLEtpfqaiMeS++qmcA5YoFMA 1T/w== X-Gm-Message-State: AOAM533Lo5YsaabOeF54cxTYMhC7Z+UBoZ2aD+vkmYHTe+tW/TBSopW4 XbdyeL0azk0GmoIt01r736Y= 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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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