Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp409330pxa; Fri, 31 Jul 2020 15:47:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjgV7Uxm4RWXvhVM/5C80Sx4MhtdYKczVO6JtQ4CxUUdbjTv10OvLPqCI6k1Hx/v5nrp2G X-Received: by 2002:aa7:d818:: with SMTP id v24mr2854672edq.259.1596235662207; Fri, 31 Jul 2020 15:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596235662; cv=none; d=google.com; s=arc-20160816; b=Qtid0VDmuq/GiGy1Fi6AmQq8wztYvaWlb7u1dATEb0SXjhjMHVqVfjSlNrMVI3w9xr CANGY+cpt2ub+sbGxKDvnVxJXS0rHoXz9JlAtLwl07FLVzxNqLpTloLEUKxkH18xEGdz D+VqdykgDYXMeqLwznr8R6J5GlGXlZjkGrYUb9lbvhlc+FU1o+dDwRNKgtoxB6vsF6WW gCYBe/xMR1/0RDcB3cCAlY4VTibRKAPZy2o5oS5WPygJ/QVumVEqC2L6UT80fLC6YyBf +3I3bHv+tSZeqNh+Or0X4FEOnM4H9ZkE8YJTNAhA6ym/Qr6whFIHkmm+Fr3551BM5EmR e6Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=yWCabnfa4GQO6SFHRc6oV4TIWD62yYPBbBZhxy36m1U=; b=Nmtmce/sUZyARyFeq3q8NEDSIDf6NMuXvqPTSY2Bw5Kh/JtL+jpM1KwJEuAa3vUS41 wcznKRSNewOLa/3NE00yynn9GOUSCQda6hSSKoabTV3p2jkMtXMACjQIFi0pFEY313Lc CydLTGzXsKL/y0VvFG0FKOE4ERXvD2Bz3bYjlB5r7z8g96x9xx/y+B0hf04RVvkPLCZQ v/uFxbP3WxbkEJC9chZSbFCeDYUWnThBD8J96f1sccjwxoHdjfRQIOKtJMZHum2hqPfx Hz2rsCz/sLST3+O2vQCPq0KdIeLKZMJcQNs14rOSOUYmf5i2XIG+dm9ZJFOVB7VocrjG y3Ng== ARC-Authentication-Results: i=1; mx.google.com; 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 c3si5736902edm.469.2020.07.31.15.47.19; Fri, 31 Jul 2020 15:47:42 -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; 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 S1726794AbgGaWrL (ORCPT + 99 others); Fri, 31 Jul 2020 18:47:11 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:35817 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726099AbgGaWrK (ORCPT ); Fri, 31 Jul 2020 18:47:10 -0400 Received: from localhost (50-39-163-217.bvtn.or.frontiernet.net [50.39.163.217]) (Authenticated sender: josh@joshtriplett.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id DC195100003; Fri, 31 Jul 2020 22:47:06 +0000 (UTC) Date: Fri, 31 Jul 2020 15:47:04 -0700 From: "josh@joshtriplett.org" To: "Bird, Tim" Cc: Arnd Bergmann , linux-arch , Linux Kernel Mailing List , ksummit Subject: Re: [Ksummit-discuss] [TECH TOPIC] Planning code obsolescence Message-ID: <20200731224704.GF32670@localhost> References: <20200731212721.GC32670@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 31, 2020 at 09:57:41PM +0000, Bird, Tim wrote: > > -----Original Message----- > > From: josh@joshtriplett.org > > > > On Fri, Jul 31, 2020 at 05:00:12PM +0200, Arnd Bergmann wrote: > > > The majority of the code in the kernel deals with hardware that was made > > > a long time ago, and we are regularly discussing which of those bits are > > > still needed. In some cases (e.g. 20+ year old RISC workstation support), > > > there are hobbyists that take care of maintainership despite there being > > > no commercial interest. In other cases (e.g. x.25 networking) it turned > > > out that there are very long-lived products that are actively supported > > > on new kernels. > > > > > > When I removed support for eight instruction set architectures in 2018, > > > those were the ones that no longer had any users of mainline kernels, > > > and removing them allowed later cleanup of cross-architecture code that > > > would have been much harder before. > > > > > > I propose adding a Documentation file that keeps track of any notable > > > kernel feature that could be classified as "obsolete", and listing > > > e.g. following properties: > > > > > > * Kconfig symbol controlling the feature > > > > > > * How long we expect to keep it as a minimum > > > > > > * Known use cases, or other reasons this needs to stay > > > > > > * Latest kernel in which it was known to have worked > > > > > > * Contact information for known users (mailing list, personal email) > > > > > > * Other features that may depend on this > > > > > > * Possible benefits of eventually removing it > > > > We had this once, in the form of feature-removal-schedule.txt. It was, > > itself, removed in commit 9c0ece069b32e8e122aea71aa47181c10eb85ba7. > > > > I *do* think there'd be value in having policies and processes for "how > > do we carefully remove a driver/architecture/etc we think nobody cares > > about". That's separate from having an actual in-kernel list of "things > > we think we can remove". > > I'm not sure the documents are the same. I think what Arnd is proposing > is more of a "why is this thing still here?" document. When someone does > research into who's still using a feature and why, that can be valuable information > to share so that future maintenance or removal decisions can be better informed. > > Maybe e-mails are sufficient for this, but they'd be harder to find than something in > the kernel source. But that supposes that people would look at the file, which > appears didn't happen with feature-removal-schedule.txt. Ah, I see. So this *isn't* about "features we want to remove", this is "features people might think we should remove, but here's the documentation for why we aren't"? More of an obscure-but-still-wanted-features.txt?